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

Assembles the order-m pencil and solves the gauged eigenproblem. More...

#include <axisymmetric.hpp>

Public Member Functions

 AxisymmetricCavity (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricCavitySetup setup)
 
const AxisymmetricCavitySetup & setup () const noexcept
 
std::vector< AxisymmetricMode > solve () const
 
const std::vector< Index > & free_dofs () const noexcept
 Free (unconstrained) block DoFs after PEC and axis conditions.
 
const std::vector< Index > & free_potential () const noexcept
 Free H1 DoFs of the gauge potential ψ.
 
const assembly::AxisymmetricSystem & system () const noexcept
 

Detailed Description

Assembles the order-m pencil and solves the gauged eigenproblem.

Constructor & Destructor Documentation

◆ AxisymmetricCavity()

hpfem::physics::AxisymmetricCavity::AxisymmetricCavity ( const fespace::NedelecDofMap< 2 > &  meridian,
const fespace::DofMap< 2 > &  azimuthal,
AxisymmetricCavitySetup  setup 
)
Exceptions
InvalidArgumentif the maps differ in mesh or order, the axis tag has no facets, or a material is lossy.

Member Function Documentation

◆ free_dofs()

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

Free (unconstrained) block DoFs after PEC and axis conditions.

◆ free_potential()

const std::vector< Index > & hpfem::physics::AxisymmetricCavity::free_potential ( ) const
inlinenoexcept

Free H1 DoFs of the gauge potential ψ.

◆ setup()

const AxisymmetricCavitySetup & hpfem::physics::AxisymmetricCavity::setup ( ) const
inlinenoexcept

◆ solve()

std::vector< AxisymmetricMode > hpfem::physics::AxisymmetricCavity::solve ( ) const

Lowest num_modes modes of order m, ascending in k0.

Exceptions
Errorif the eigensolver does not converge.

◆ system()

const assembly::AxisymmetricSystem & hpfem::physics::AxisymmetricCavity::system ( ) const
inlinenoexcept

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