|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
Assembles and solves the resonance problem on a Nédélec space. More...
#include <resonance.hpp>
Public Member Functions | |
| Resonance (const fespace::NedelecDofMap< Dim > &dofs, ResonanceSetup< Dim > setup) | |
| const fespace::NedelecDofMap< Dim > & | dofs () const noexcept |
| const ResonanceSetup< Dim > & | setup () const noexcept |
| assembly::MaxwellForm< Dim > | form_of_cell (Index cell) const |
| Relative tensors of cell c (PML-stretched in the layers), no sources. | |
| std::vector< ResonantMode > | solve () const |
Assembles and solves the resonance problem on a Nédélec space.
| hpfem::physics::Resonance< Dim >::Resonance | ( | const fespace::NedelecDofMap< Dim > & | dofs, |
| ResonanceSetup< Dim > | setup | ||
| ) |
| InvalidArgument | if the target frequency is not positive. |
|
inlinenoexcept |
| assembly::MaxwellForm< Dim > hpfem::physics::Resonance< Dim >::form_of_cell | ( | Index | cell | ) | const |
Relative tensors of cell c (PML-stretched in the layers), no sources.
|
inlinenoexcept |
| std::vector< ResonantMode > hpfem::physics::Resonance< Dim >::solve | ( | ) | const |
Modes ordered by the distance of ω to the target; fewer than num_modes if the Arnoldi iteration converged fewer.
| Error | on non-convergence. |