hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hpfem::physics::AbsorbedPower Struct Reference

Absorbed power split by material tag and by cell. More...

#include <absorption.hpp>

Public Member Functions

Real of_tag (mesh::Tag tag) const noexcept
 Power of a tag (0 if the tag has no lossy cells).
 

Public Attributes

Real total = 0
 
std::vector< std::pair< mesh::Tag, Real > > by_tag
 (tag, power) of every tag with lossy cells, ascending tag.
 
std::vector< Real > per_cell
 one entry per cell, 0 in lossless cells
 

Detailed Description

Absorbed power split by material tag and by cell.

Member Function Documentation

◆ of_tag()

Real hpfem::physics::AbsorbedPower::of_tag ( mesh::Tag  tag) const
noexcept

Power of a tag (0 if the tag has no lossy cells).

Member Data Documentation

◆ by_tag

std::vector<std::pair<mesh::Tag, Real> > hpfem::physics::AbsorbedPower::by_tag

(tag, power) of every tag with lossy cells, ascending tag.

◆ per_cell

std::vector<Real> hpfem::physics::AbsorbedPower::per_cell

one entry per cell, 0 in lossless cells

◆ total

Real hpfem::physics::AbsorbedPower::total = 0

The documentation for this struct was generated from the following file: