|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <riesz_projection.hpp>


Public Member Functions | |
| AxisymmetricRieszProjection (const AxisymmetricResonance &problem, RieszSetup setup) | |
| Index | add_current (const AxisymmetricField ¤t, int extra_order=4) |
| Index | add_emitted_power (Index source) |
| The emitted power with the azimuthal integral, factor 2π. | |
| int | azimuthal_order () const noexcept |
| Index | add_current (Vector current_load) |
Public Member Functions inherited from hpfem::physics::RieszProjectionBase | |
| RieszProjectionBase (std::unique_ptr< RieszPencil > pencil, RieszSetup setup) | |
| virtual | ~RieszProjectionBase () |
| RieszProjectionBase (const RieszProjectionBase &)=delete | |
| RieszProjectionBase & | operator= (const RieszProjectionBase &)=delete |
| Index | add_load (Vector load, std::function< Complex(Complex)> scale={}) |
| Index | add_load (std::function< Vector(Complex)> load) |
| A load given as a function of ω (full size), e.g. an incident field. | |
| Index | add_current (Vector current_load) |
| Index | add_functional (Vector q) |
| A functional \( Q(x) = q^\top x \) (full size). Returns the functional index. | |
| Index | add_emitted_power (Index source, Real factor=1.0) |
| void | run () |
| const std::vector< RieszContour > & | contours () const noexcept |
| Index | background () const noexcept |
Index of the background contour (the last one) after run. | |
| Index | num_sources () const noexcept |
| Index | num_functionals () const noexcept |
| const RieszPencil & | pencil () const noexcept |
| const RieszSetup & | setup () const noexcept |
| Complex | contribution (Index contour, Index source, Index functional, Complex omega) const |
| Complex | total (Index source, Index functional, Complex omega) const |
| Sum of all contributions: the expansion of \( Q_f(x_s(\omega)) \). | |
| Matrix | spectrum (Index source, Index functional, std::span< const Complex > omegas) const |
| Matrix | direct (Complex omega) const |
| Vector | field (Index contour, Index source, Complex omega) const |
| Vector | expand (Index source, Complex omega) const |
| Vector | direct_field (Index source, Complex omega) const |
| Direct solution at ω (full size). | |
Riesz projection on the order-m block pencil of an AxisymmetricResonance problem; full vectors are the block vectors (e, v), the emitted power carries the azimuthal factor 2π.
| hpfem::physics::AxisymmetricRieszProjection::AxisymmetricRieszProjection | ( | const AxisymmetricResonance & | problem, |
| RieszSetup | setup | ||
| ) |
| Index hpfem::physics::AxisymmetricRieszProjection::add_current | ( | const AxisymmetricField & | current, |
| int | extra_order = 4 |
||
| ) |
Assembles axisymmetric_current_load of the order-m current density in the scaled components and adds it.
A current source: load \( i\omega\mu_0 b_J \) with \( b_J \) from current_load (or axisymmetric_current_load).
The emitted power with the azimuthal integral, factor 2π.
|
inlinenoexcept |