27 std::vector<std::pair<mesh::Tag, Real>>
by_tag;
Definition conical_scattering.hpp:165
Assembles, constrains and solves a scattering problem and evaluates its fields.
Definition scattering.hpp:96
std::int32_t Tag
Integer tag of a physical group (Gmsh convention: positive; 0 means untagged).
Definition mesh.hpp:23
Definition absorption.hpp:21
AbsorptionDensity< Dim > absorption_density(const Scattering< Dim > &problem, const ScatteringSolution< Dim > &solution, int extra_order=2)
The Joule heating at the quadrature points of the lossy cells.
AbsorbedPower absorbed_power_by_tag(const Scattering< Dim > &problem, const ScatteringSolution< Dim > &solution, int extra_order=2)
double Real
Definition types.hpp:15
Absorbed power split by material tag and by cell.
Definition absorption.hpp:24
std::vector< Real > per_cell
one entry per cell, 0 in lossless cells
Definition absorption.hpp:28
std::vector< std::pair< mesh::Tag, Real > > by_tag
(tag, power) of every tag with lossy cells, ascending tag.
Definition absorption.hpp:27
Real of_tag(mesh::Tag tag) const noexcept
Power of a tag (0 if the tag has no lossy cells).
Real total
Definition absorption.hpp:25
Definition absorption.hpp:38
std::vector< Real > weights
Definition absorption.hpp:40
std::vector< Real > density
Definition absorption.hpp:41
std::vector< Point< Dim > > points
Definition absorption.hpp:39
std::vector< Index > cell
Definition absorption.hpp:42
Real total() const noexcept
Definition conical_scattering.hpp:152
Coefficients of the unknown field on the DoF map.
Definition scattering.hpp:86