hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
axisymmetric.hpp File Reference
#include <functional>
#include <memory>
#include <optional>
#include <span>
#include <vector>
#include "hpfem/adaptivity/residual_estimator.hpp"
#include "hpfem/assembly/axisymmetric_forms.hpp"
#include "hpfem/core/types.hpp"
#include "hpfem/fespace/constraints.hpp"
#include "hpfem/fespace/dof_map.hpp"
#include "hpfem/materials/material.hpp"
#include "hpfem/mesh/mesh.hpp"
#include "hpfem/physics/absorption.hpp"
#include "hpfem/physics/kept_factorisation.hpp"
#include "hpfem/physics/layer_stack.hpp"
#include "hpfem/physics/postprocess.hpp"
#include "hpfem/pml/pml.hpp"
#include "hpfem/solvers/linear_solver.hpp"
Include dependency graph for axisymmetric.hpp:

Go to the source code of this file.

Classes

struct  hpfem::physics::AxisymmetricDofSets
 
struct  hpfem::physics::AxisymmetricCavitySetup
 Description of an axisymmetric cavity problem (closed, lossless). More...
 
struct  hpfem::physics::AxisymmetricMode
 One eigenmode of order m. More...
 
class  hpfem::physics::AxisymmetricCavity
 Assembles the order-m pencil and solves the gauged eigenproblem. More...
 
struct  hpfem::physics::AxisymmetricResonanceSetup
 
struct  hpfem::physics::AxisymmetricResonantMode
 A quasi-normal mode of order m. More...
 
class  hpfem::physics::AxisymmetricResonance
 
struct  hpfem::physics::AxisymmetricError
 
struct  hpfem::physics::AxisymmetricScatteringSetup
 
struct  hpfem::physics::AxisymmetricScatteredField
 
class  hpfem::physics::AxisymmetricScattering
 
struct  hpfem::physics::AxisymmetricFluxChannels
 
struct  hpfem::physics::AxisymmetricDiscFlux
 
struct  hpfem::physics::AxisymmetricFarField
 
struct  hpfem::physics::AxisymmetricLayeredFarField
 
struct  hpfem::physics::AxisymmetricLayeredWave
 Order m of the plane wave on a layer stack, see layered_axisymmetric_wave. More...
 
struct  hpfem::physics::AxisymmetricOrders
 Fields of several orders and their powers through a common surface. More...
 

Namespaces

namespace  hpfem
 
namespace  hpfem::physics
 

Typedefs

using hpfem::physics::AxisymmetricField = std::function< Eigen::Matrix< Complex, 3, 1 >(const Point< 2 > &)>
 

Enumerations

enum class  hpfem::physics::AxisDipole { hpfem::physics::kAxial , hpfem::physics::kTransverse }
 Orientation of a dipole on the axis. More...
 
enum class  hpfem::physics::PlanePolarisation { hpfem::physics::kS , hpfem::physics::kP }
 Polarisation of a plane wave relative to its plane of incidence (the x–z plane). More...
 
enum class  hpfem::physics::StackSide { hpfem::physics::kTop , hpfem::physics::kBottom }
 Side of a layer stack from which a plane wave comes. More...
 

Functions

AxisymmetricDofSets hpfem::physics::axisymmetric_dof_sets (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const std::vector< mesh::Tag > &pec_tags, mesh::Tag axis_tag, int azimuthal_order)
 
Eigen::Matrix< Complex, 3, 1 > hpfem::physics::axisymmetric_permittivity (const materials::Material &material)
 
assembly::AxisymmetricForm hpfem::physics::axisymmetric_pml_form (const pml::PmlBox< 2 > &box, const materials::Material &material, std::optional< int > quadrature_order=std::nullopt)
 
AxisymmetricField hpfem::physics::axial_plane_wave (Complex amplitude, Real k, int m)
 
AxisymmetricField hpfem::physics::axisymmetric_gaussian_dipole (Real position, Complex moment, AxisDipole orientation, Real sigma, Real omega, int m)
 
AxisymmetricField hpfem::physics::axisymmetric_offaxis_gaussian_dipole (Real radius, Real position, const Eigen::Matrix< Complex, 3, 1 > &moment, Real sigma, Real omega, int m)
 
Vector hpfem::physics::axisymmetric_current_load (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, int m, const AxisymmetricField &current, int extra_order=4)
 
Real hpfem::physics::dipole_vacuum_power (Complex moment, Real omega)
 
AxisymmetricError hpfem::physics::axisymmetric_error (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, const AxisymmetricField &exact, const AxisymmetricField &exact_curl={}, int extra_order=4)
 
Real hpfem::physics::axisymmetric_poynting_flux (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, const Surface< 2 > &surface, int order=8, const AxisymmetricField &added_value={}, const AxisymmetricField &added_curl={})
 
Eigen::Matrix< Complex, Eigen::Dynamic, 3 > hpfem::physics::axisymmetric_fields_at (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, const Eigen::Matrix< Real, Eigen::Dynamic, 2 > &points)
 
AxisymmetricFluxChannels hpfem::physics::axisymmetric_flux_channels (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, const Surface< 2 > &surface, const LayerStack< 3 > &stack, int order=8, const AxisymmetricField &added_value={}, const AxisymmetricField &added_curl={})
 
AxisymmetricDiscFlux hpfem::physics::axisymmetric_disc_flux (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, Real z, Real radius, int direction=-1, const AxisymmetricField &added_value={}, const AxisymmetricField &added_curl={}, int order=8)
 
AbsorbedPower hpfem::physics::axisymmetric_absorbed_power (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, const AxisymmetricField &added={}, const std::optional< pml::PmlBox< 2 > > &pml=std::nullopt, int extra_order=4)
 
AxisymmetricFarField hpfem::physics::axisymmetric_far_field (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, const Surface< 2 > &surface, const std::vector< Real > &theta, int order=8)
 
AxisymmetricLayeredFarField hpfem::physics::axisymmetric_layered_far_field (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, const Vector &meridian_coefficients, const Vector &azimuthal_coefficients, int azimuthal_order, Real omega, const materials::MaterialMap &materials, const Surface< 2 > &surface, const LayerStack< 3 > &stack, const std::vector< Real > &theta_up, const std::vector< Real > &theta_down, int order=8)
 
AxisymmetricField hpfem::physics::oblique_plane_wave (Complex amplitude, Real k, Real theta_i, PlanePolarisation polarisation, int m)
 
AxisymmetricLayeredWave hpfem::physics::layered_axisymmetric_wave (const LayerStack< 3 > &stack, Real k0, Real theta, Polarisation pol, int m, StackSide side=StackSide::kTop, Complex amplitude=1.0)
 
AxisymmetricOrders hpfem::physics::scatter_orders (const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricScatteringSetup setup, const std::function< AxisymmetricField(int)> &incident_of_order, int max_order, const Surface< 2 > &surface, Real tolerance=1e-6)
 
AxisymmetricFarField hpfem::physics::superpose_far_field (const std::vector< AxisymmetricFarField > &patterns, const std::vector< int > &orders, Real phi)
 

Detailed Description

Eigenproblems of a body of revolution (2.5D): for the azimuthal order m the Maxwell eigenproblem \( \nabla\times(\mu_r^{-1}\nabla\times E) = k_0^2\varepsilon_r E \) with \( E = E_m(r, z) e^{im\varphi} \) is posed on the meridian mesh (x = r, y = z) with the forms of assembly::assemble_axisymmetric, PEC walls (tangential trace of \( (E_r, E_z) \) and \( E_\varphi \) zero) and the axis conditions that keep the field regular at r = 0: \( v = -i r E_\varphi = 0 \) for every m and \( E_z = 0 \) for m ≠ 0 (both as Dirichlet data on the axis facets). The gradient kernel is removed with the order-m gradient \( (\nabla\psi, m\psi) \) as in the Cartesian cavity solver, so no spurious modes appear. AxisymmetricCavity solves the closed (lossless) problem, AxisymmetricResonance the open one with the cylindrical PML (quasi-normal modes with complex ω, Q factor). See docs/theory/axisymmetric.md and ADR-0010.