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

#include <riesz_projection.hpp>

Inheritance diagram for hpfem::physics::AxisymmetricRieszProjection:
Inheritance graph
[legend]
Collaboration diagram for hpfem::physics::AxisymmetricRieszProjection:
Collaboration graph
[legend]

Public Member Functions

 AxisymmetricRieszProjection (const AxisymmetricResonance &problem, RieszSetup setup)
 
Index add_current (const AxisymmetricField &current, 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).
 

Detailed Description

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π.

Constructor & Destructor Documentation

◆ AxisymmetricRieszProjection()

hpfem::physics::AxisymmetricRieszProjection::AxisymmetricRieszProjection ( const AxisymmetricResonance &  problem,
RieszSetup  setup 
)

Member Function Documentation

◆ add_current() [1/2]

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.

◆ add_current() [2/2]

Index hpfem::physics::RieszProjectionBase::add_current ( Vector  current_load)

A current source: load \( i\omega\mu_0 b_J \) with \( b_J \) from current_load (or axisymmetric_current_load).

◆ add_emitted_power()

Index hpfem::physics::AxisymmetricRieszProjection::add_emitted_power ( Index  source)
inline

The emitted power with the azimuthal integral, factor 2π.

◆ azimuthal_order()

int hpfem::physics::AxisymmetricRieszProjection::azimuthal_order ( ) const
inlinenoexcept

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