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

#include <axisymmetric.hpp>

Public Member Functions

 AxisymmetricResonance (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricResonanceSetup setup)
 
const AxisymmetricResonanceSetup & setup () const noexcept
 
const fespace::NedelecDofMap< 2 > & meridian () const noexcept
 
const fespace::DofMap< 2 > & azimuthal () const noexcept
 
assembly::AxisymmetricForm form_of_cell (Index cell) const
 Per-cell form: material tensors, stretched inside the PML.
 
std::vector< AxisymmetricResonantMode > solve () const
 
const std::vector< Index > & free_dofs () const noexcept
 

Detailed Description

Assembles the complex-symmetric order-m pencil with the PML and finds the modes closest to the target with the gauged complex shift-invert solver.

Constructor & Destructor Documentation

◆ AxisymmetricResonance()

hpfem::physics::AxisymmetricResonance::AxisymmetricResonance ( const fespace::NedelecDofMap< 2 > &  meridian,
const fespace::DofMap< 2 > &  azimuthal,
AxisymmetricResonanceSetup  setup 
)
Exceptions
InvalidArgumentfor ω ≤ 0, a missing axis tag, mismatched maps, or a PML box with a layer on the axis side.

Member Function Documentation

◆ azimuthal()

const fespace::DofMap< 2 > & hpfem::physics::AxisymmetricResonance::azimuthal ( ) const
inlinenoexcept

◆ form_of_cell()

assembly::AxisymmetricForm hpfem::physics::AxisymmetricResonance::form_of_cell ( Index  cell) const

Per-cell form: material tensors, stretched inside the PML.

◆ free_dofs()

const std::vector< Index > & hpfem::physics::AxisymmetricResonance::free_dofs ( ) const
inlinenoexcept

◆ meridian()

const fespace::NedelecDofMap< 2 > & hpfem::physics::AxisymmetricResonance::meridian ( ) const
inlinenoexcept

◆ setup()

const AxisymmetricResonanceSetup & hpfem::physics::AxisymmetricResonance::setup ( ) const
inlinenoexcept

◆ solve()

std::vector< AxisymmetricResonantMode > hpfem::physics::AxisymmetricResonance::solve ( ) const

Modes ordered by the distance of ω to the target.

Exceptions
Errorif the eigensolver does not converge.

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