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

#include <postprocess.hpp>

Public Member Functions

Real residual () const noexcept
 
Real relative_residual () const noexcept
 

Public Attributes

Real incident = 0
 
Real reflected = 0
 
Real transmitted = 0
 
Real absorbed = 0
 

Detailed Description

Energy balance of a periodic scattering problem in 2D: the incident power per period, the power of the reflected field (total minus incident wave) through a line in the incidence medium, the transmitted power through a line in a lossless substrate (0 without the line) and the power the TOTAL field (unknown plus incident or background field) absorbs in all lossy cells; residual must vanish for a converged solution, so the relative residual is a reference-free quality indicator of the efficiencies. [W/m].

Member Function Documentation

◆ relative_residual()

Real hpfem::physics::PowerBalance::relative_residual ( ) const
inlinenoexcept

◆ residual()

Real hpfem::physics::PowerBalance::residual ( ) const
inlinenoexcept

Member Data Documentation

◆ absorbed

Real hpfem::physics::PowerBalance::absorbed = 0

◆ incident

Real hpfem::physics::PowerBalance::incident = 0

◆ reflected

Real hpfem::physics::PowerBalance::reflected = 0

◆ transmitted

Real hpfem::physics::PowerBalance::transmitted = 0

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