hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
axisymmetric.hpp
Go to the documentation of this file.
1#pragma once
14#include <functional>
15#include <memory>
16#include <optional>
17#include <span>
18#include <vector>
19
22#include "hpfem/core/types.hpp"
26#include "hpfem/mesh/mesh.hpp"
31#include "hpfem/pml/pml.hpp"
33
34namespace hpfem::physics {
35
39 std::vector<Index> free;
40 std::vector<Index> free_potential;
43 std::optional<fespace::Constraints> constraints;
45 std::optional<fespace::Constraints> potential_constraints;
46};
47
53 const fespace::DofMap<2>& azimuthal,
54 const std::vector<mesh::Tag>& pec_tags,
55 mesh::Tag axis_tag, int azimuthal_order);
56
65[[nodiscard]] Eigen::Matrix<Complex, 3, 1> axisymmetric_permittivity(
66 const materials::Material& material);
67
75 const pml::PmlBox<2>& box, const materials::Material& material,
76 std::optional<int> quadrature_order = std::nullopt);
77
90
97
100 public:
105 [[nodiscard]] const AxisymmetricCavitySetup& setup() const noexcept { return setup_; }
108 [[nodiscard]] std::vector<AxisymmetricMode> solve() const;
110 [[nodiscard]] const std::vector<Index>& free_dofs() const noexcept { return sets_.free; }
112 [[nodiscard]] const std::vector<Index>& free_potential() const noexcept {
113 return sets_.free_potential;
114 }
115 [[nodiscard]] const assembly::AxisymmetricSystem& system() const noexcept { return system_; }
116
117 private:
118 const fespace::NedelecDofMap<2>* meridian_;
119 const fespace::DofMap<2>* azimuthal_;
122 SparseMatrix gradient_;
124};
125
143
153
157 public:
162 [[nodiscard]] const AxisymmetricResonanceSetup& setup() const noexcept { return setup_; }
163 [[nodiscard]] const fespace::NedelecDofMap<2>& meridian() const noexcept { return *meridian_; }
164 [[nodiscard]] const fespace::DofMap<2>& azimuthal() const noexcept { return *azimuthal_; }
169 [[nodiscard]] std::vector<AxisymmetricResonantMode> solve() const;
170 [[nodiscard]] const std::vector<Index>& free_dofs() const noexcept { return sets_.free; }
171
172 private:
173 const fespace::NedelecDofMap<2>* meridian_;
174 const fespace::DofMap<2>* azimuthal_;
177};
178
181using AxisymmetricField = std::function<Eigen::Matrix<Complex, 3, 1>(const Point<2>&)>;
182
188[[nodiscard]] AxisymmetricField axial_plane_wave(Complex amplitude, Real k, int m);
189
192
204 AxisDipole orientation, Real sigma,
205 Real omega, int m);
206
227 Real radius, Real position, const Eigen::Matrix<Complex, 3, 1>& moment, Real sigma, Real omega,
228 int m);
229
236 const fespace::DofMap<2>& azimuthal, int m,
237 const AxisymmetricField& current,
238 int extra_order = 4);
239
242[[nodiscard]] Real dipole_vacuum_power(Complex moment, Real omega);
243
248 Real l2 = 0;
249 Real curl = 0;
250};
251
260 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
261 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
262 const AxisymmetricField& exact, const AxisymmetricField& exact_curl = {}, int extra_order = 4);
263
298
307 std::shared_ptr<const KeptFactorisation> factorisation;
308};
309
315 public:
322 [[nodiscard]] const AxisymmetricScatteringSetup& setup() const noexcept { return setup_; }
323 [[nodiscard]] Real wavenumber() const noexcept { return k0_; }
327 [[nodiscard]] const materials::Material& background_material(Index cell) const;
331 [[nodiscard]] AxisymmetricScatteredField solve() const;
341 [[nodiscard]] Vector load(std::span<const Index> cells = {}) const;
345 [[nodiscard]] AxisymmetricScatteredField solution_from(const Vector& block) const;
353 [[nodiscard]] Vector mirrored(const Vector& block) const;
358 const AxisymmetricScatteredField& field,
359 const adaptivity::EstimatorOptions& options = {}) const;
365 int extra_order = 4) const;
371 [[nodiscard]] AbsorbedPower incident_absorbed_power(int extra_order = 4) const;
374 [[nodiscard]] std::vector<Index> scatterer_cells() const;
377 const AxisymmetricField& exact,
378 const AxisymmetricField& exact_curl = {}) const;
379 [[nodiscard]] const std::vector<Index>& free_dofs() const noexcept { return sets_.free; }
380
381 private:
382 const fespace::NedelecDofMap<2>* meridian_;
383 const fespace::DofMap<2>* azimuthal_;
385 void check_background() const;
386
389 Real k0_ = 0;
390};
391
403 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
404 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
405 Real omega, const materials::MaterialMap& materials, const Surface<2>& surface, int order = 8,
406 const AxisymmetricField& added_value = {}, const AxisymmetricField& added_curl = {});
407
415[[nodiscard]] Eigen::Matrix<Complex, Eigen::Dynamic, 3> axisymmetric_fields_at(
416 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
417 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients,
418 const Eigen::Matrix<Real, Eigen::Dynamic, 2>& points);
419
427 Real up = 0;
428 Real down = 0;
430 [[nodiscard]] Real total() const noexcept { return up + down + lateral; }
431};
432
436 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
437 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
438 Real omega, const materials::MaterialMap& materials, const Surface<2>& surface,
439 const LayerStack<3>& stack, int order = 8, const AxisymmetricField& added_value = {},
440 const AxisymmetricField& added_curl = {});
441
451 [[nodiscard]] Real change() const noexcept { return total - background; }
452};
453
458 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
459 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
460 Real omega, const materials::MaterialMap& materials, Real z, Real radius, int direction = -1,
461 const AxisymmetricField& added_value = {}, const AxisymmetricField& added_curl = {},
462 int order = 8);
463
473 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
474 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
475 Real omega, const materials::MaterialMap& materials, const AxisymmetricField& added = {},
476 const std::optional<pml::PmlBox<2>>& pml = std::nullopt, int extra_order = 4);
477
484 std::vector<Real> theta;
485 std::vector<Complex> f_theta;
486 std::vector<Complex> f_phi;
489 [[nodiscard]] Real radiated_power() const;
493 [[nodiscard]] Real power_between(Real theta_min, Real theta_max) const;
494};
495
505 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
506 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
507 Real omega, const materials::MaterialMap& materials, const Surface<2>& surface,
508 const std::vector<Real>& theta, int order = 8);
509
517
537 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
538 const Vector& meridian_coefficients, const Vector& azimuthal_coefficients, int azimuthal_order,
539 Real omega, const materials::MaterialMap& materials, const Surface<2>& surface,
540 const LayerStack<3>& stack, const std::vector<Real>& theta_up,
541 const std::vector<Real>& theta_down, int order = 8);
542
544enum class PlanePolarisation { kS, kP };
545
558[[nodiscard]] AxisymmetricField oblique_plane_wave(Complex amplitude, Real k, Real theta_i,
559 PlanePolarisation polarisation, int m);
560
562enum class StackSide {
563 kTop,
564 kBottom,
565};
566
577
597 Real theta, Polarisation pol, int m,
599 Complex amplitude = 1.0);
600
603 std::vector<int> orders;
604 std::vector<AxisymmetricScatteredField> fields;
605 std::vector<Real> power;
606 [[nodiscard]] Real total_power() const;
607};
608
615 const fespace::NedelecDofMap<2>& meridian, const fespace::DofMap<2>& azimuthal,
617 const std::function<AxisymmetricField(int)>& incident_of_order, int max_order,
618 const Surface<2>& surface, Real tolerance = 1e-6);
619
625 const std::vector<AxisymmetricFarField>& patterns, const std::vector<int>& orders, Real phi);
626
627} // namespace hpfem::physics
Definition dof_map.hpp:51
Definition material.hpp:149
Definition material.hpp:31
Assembles the order-m pencil and solves the gauged eigenproblem.
Definition axisymmetric.hpp:99
const std::vector< Index > & free_potential() const noexcept
Free H1 DoFs of the gauge potential ψ.
Definition axisymmetric.hpp:112
AxisymmetricCavity(const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricCavitySetup setup)
const AxisymmetricCavitySetup & setup() const noexcept
Definition axisymmetric.hpp:105
std::vector< AxisymmetricMode > solve() const
const std::vector< Index > & free_dofs() const noexcept
Free (unconstrained) block DoFs after PEC and axis conditions.
Definition axisymmetric.hpp:110
const assembly::AxisymmetricSystem & system() const noexcept
Definition axisymmetric.hpp:115
Definition axisymmetric.hpp:156
assembly::AxisymmetricForm form_of_cell(Index cell) const
Per-cell form: material tensors, stretched inside the PML.
const std::vector< Index > & free_dofs() const noexcept
Definition axisymmetric.hpp:170
const AxisymmetricResonanceSetup & setup() const noexcept
Definition axisymmetric.hpp:162
std::vector< AxisymmetricResonantMode > solve() const
AxisymmetricResonance(const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricResonanceSetup setup)
const fespace::NedelecDofMap< 2 > & meridian() const noexcept
Definition axisymmetric.hpp:163
const fespace::DofMap< 2 > & azimuthal() const noexcept
Definition axisymmetric.hpp:164
Definition axisymmetric.hpp:314
const std::vector< Index > & free_dofs() const noexcept
Definition axisymmetric.hpp:379
AxisymmetricScattering(const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, AxisymmetricScatteringSetup setup)
Vector mirrored(const Vector &block) const
AxisymmetricScatteredField solve() const
adaptivity::Estimate estimate(const AxisymmetricScatteredField &field, const adaptivity::EstimatorOptions &options={}) const
const materials::Material & background_material(Index cell) const
AbsorbedPower incident_absorbed_power(int extra_order=4) const
AbsorbedPower absorbed_power(const AxisymmetricScatteredField &field, int extra_order=4) const
AxisymmetricError error(const AxisymmetricScatteredField &field, const AxisymmetricField &exact, const AxisymmetricField &exact_curl={}) const
Error of a solution against an exact field (axisymmetric_error).
assembly::AxisymmetricForm form_of_cell(Index cell) const
Per-cell form: material tensors (stretched inside the PML) and the contrast source.
Real wavenumber() const noexcept
Definition axisymmetric.hpp:323
AxisymmetricScatteredField solution_from(const Vector &block) const
std::vector< Index > scatterer_cells() const
Vector load(std::span< const Index > cells={}) const
const AxisymmetricScatteringSetup & setup() const noexcept
Definition axisymmetric.hpp:322
Definition layer_stack.hpp:57
Definition pml.hpp:55
std::int32_t Tag
Integer tag of a physical group (Gmsh convention: positive; 0 means untagged).
Definition mesh.hpp:23
constexpr Tag kNoTag
Definition mesh.hpp:24
Definition absorption.hpp:21
Vector axisymmetric_current_load(const fespace::NedelecDofMap< 2 > &meridian, const fespace::DofMap< 2 > &azimuthal, int m, const AxisymmetricField &current, int extra_order=4)
AxisymmetricField axisymmetric_gaussian_dipole(Real position, Complex moment, AxisDipole orientation, Real sigma, Real omega, int m)
AbsorbedPower 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)
AxisymmetricLayeredWave layered_axisymmetric_wave(const LayerStack< 3 > &stack, Real k0, Real theta, Polarisation pol, int m, StackSide side=StackSide::kTop, Complex amplitude=1.0)
AxisDipole
Orientation of a dipole on the axis.
Definition axisymmetric.hpp:191
AxisymmetricField axial_plane_wave(Complex amplitude, Real k, int m)
AxisymmetricFluxChannels 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={})
Eigen::Matrix< Complex, Eigen::Dynamic, 3 > 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)
assembly::AxisymmetricForm axisymmetric_pml_form(const pml::PmlBox< 2 > &box, const materials::Material &material, std::optional< int > quadrature_order=std::nullopt)
AxisymmetricFarField superpose_far_field(const std::vector< AxisymmetricFarField > &patterns, const std::vector< int > &orders, Real phi)
AxisymmetricField axisymmetric_offaxis_gaussian_dipole(Real radius, Real position, const Eigen::Matrix< Complex, 3, 1 > &moment, Real sigma, Real omega, int m)
AxisymmetricLayeredFarField 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)
Real dipole_vacuum_power(Complex moment, Real omega)
AxisymmetricDofSets 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)
Real 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={})
AxisymmetricField oblique_plane_wave(Complex amplitude, Real k, Real theta_i, PlanePolarisation polarisation, int m)
AxisymmetricFarField 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)
AxisymmetricDiscFlux 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)
AxisymmetricOrders 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)
Eigen::Matrix< Complex, 3, 1 > axisymmetric_permittivity(const materials::Material &material)
std::function< Eigen::Matrix< Complex, 3, 1 >(const Point< 2 > &)> AxisymmetricField
Definition axisymmetric.hpp:181
PlanePolarisation
Polarisation of a plane wave relative to its plane of incidence (the x–z plane).
Definition axisymmetric.hpp:544
AxisymmetricError 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)
StackSide
Side of a layer stack from which a plane wave comes.
Definition axisymmetric.hpp:562
@ kBottom
from the substrate (lossless), travelling towards +z
@ kTop
from the incidence medium, travelling towards −z
Polarisation
Definition layer_stack.hpp:21
DirectSolverBackend
Direct solver backends.
Definition linear_solver.hpp:70
double Real
Definition types.hpp:15
Eigen::Matrix< Real, Dim, 1 > Point
Definition types.hpp:27
Eigen::SparseMatrix< Complex, Eigen::RowMajor, Index > SparseMatrix
Definition types.hpp:24
std::int64_t Index
global indices (DoFs, entities)
Definition types.hpp:17
Eigen::Matrix< Complex, Eigen::Dynamic, 1 > Vector
Definition types.hpp:20
std::complex< double > Complex
Definition types.hpp:16
Element indicators of one discrete solution.
Definition residual_estimator.hpp:65
Definition residual_estimator.hpp:37
Definition axisymmetric_forms.hpp:38
Definition axisymmetric_forms.hpp:53
Absorbed power split by material tag and by cell.
Definition absorption.hpp:24
Description of an axisymmetric cavity problem (closed, lossless).
Definition axisymmetric.hpp:79
Index krylov_dimension
Definition axisymmetric.hpp:85
mesh::Tag axis_tag
facets on the axis r = 0 (required)
Definition axisymmetric.hpp:82
Real tolerance
Definition axisymmetric.hpp:86
std::vector< mesh::Tag > pec_tags
facets with n × E = 0
Definition axisymmetric.hpp:81
int max_iterations
Definition axisymmetric.hpp:87
int extra_quadrature_order
Definition axisymmetric.hpp:88
Index num_modes
Definition axisymmetric.hpp:84
materials::MaterialMap materials
lossless, by cell tag
Definition axisymmetric.hpp:80
int azimuthal_order
m
Definition axisymmetric.hpp:83
Definition axisymmetric.hpp:448
Real total
Definition axisymmetric.hpp:449
Real background
Definition axisymmetric.hpp:450
Real change() const noexcept
Definition axisymmetric.hpp:451
Definition axisymmetric.hpp:38
std::vector< Index > free
block indices (Nédélec first, then H1 of v)
Definition axisymmetric.hpp:39
std::optional< fespace::Constraints > constraints
Definition axisymmetric.hpp:43
std::vector< Index > free_potential
Definition axisymmetric.hpp:40
std::optional< fespace::Constraints > potential_constraints
The same for ψ, restricted to free_potential.
Definition axisymmetric.hpp:45
Definition axisymmetric.hpp:247
Real l2
weighted L2 norm of the field error
Definition axisymmetric.hpp:248
Real curl
weighted L2 norm of the curl error
Definition axisymmetric.hpp:249
Definition axisymmetric.hpp:480
std::vector< Real > theta
polar angles [rad]
Definition axisymmetric.hpp:484
int azimuthal_order
Definition axisymmetric.hpp:481
std::vector< Complex > f_phi
Definition axisymmetric.hpp:486
std::vector< Complex > f_theta
at φ = 0 [V/m · m]
Definition axisymmetric.hpp:485
Real impedance
Z of the background [Ohm].
Definition axisymmetric.hpp:483
Real wavenumber
k of the background [1/m]
Definition axisymmetric.hpp:482
Real power_between(Real theta_min, Real theta_max) const
Definition axisymmetric.hpp:426
Real lateral
[W]
Definition axisymmetric.hpp:429
Real total() const noexcept
Definition axisymmetric.hpp:430
Real down
[W]
Definition axisymmetric.hpp:428
Real up
[W]
Definition axisymmetric.hpp:427
Definition axisymmetric.hpp:513
AxisymmetricFarField up
Definition axisymmetric.hpp:514
AxisymmetricFarField down
Definition axisymmetric.hpp:515
Order m of the plane wave on a layer stack, see layered_axisymmetric_wave.
Definition axisymmetric.hpp:568
Real reflectance
R of the bare stack for this side.
Definition axisymmetric.hpp:573
Real absorptance
1 − R − T
Definition axisymmetric.hpp:575
AxisymmetricField value
Definition axisymmetric.hpp:569
AxisymmetricField curl
Definition axisymmetric.hpp:572
Real transmittance
T of the bare stack for this side.
Definition axisymmetric.hpp:574
One eigenmode of order m.
Definition axisymmetric.hpp:92
Vector meridian
(E_r, E_z) coefficients on the Nédélec map (full size)
Definition axisymmetric.hpp:94
Real wavenumber
k0 [1/m]
Definition axisymmetric.hpp:93
Vector azimuthal
v = -i r E_phi coefficients on the H1 map (full size)
Definition axisymmetric.hpp:95
Fields of several orders and their powers through a common surface.
Definition axisymmetric.hpp:602
std::vector< int > orders
m of every solved order
Definition axisymmetric.hpp:603
Real total_power() const
Σ_m power (orders are orthogonal)
std::vector< Real > power
power [W] of every order
Definition axisymmetric.hpp:605
std::vector< AxisymmetricScatteredField > fields
one per order
Definition axisymmetric.hpp:604
Definition axisymmetric.hpp:128
materials::MaterialMap materials
by cell tag (may be lossy)
Definition axisymmetric.hpp:130
Index num_modes
Definition axisymmetric.hpp:135
Index krylov_dimension
Definition axisymmetric.hpp:136
int extra_quadrature_order
Definition axisymmetric.hpp:140
int max_iterations
Definition axisymmetric.hpp:138
Real target_omega
search centre of ω [rad/s] (and PML design frequency)
Definition axisymmetric.hpp:129
mesh::Tag axis_tag
facets on the axis r = 0 (required)
Definition axisymmetric.hpp:132
std::vector< mesh::Tag > pec_tags
facets with n × E = 0
Definition axisymmetric.hpp:131
int pml_extra_quadrature_order
Definition axisymmetric.hpp:141
solvers::DirectSolverBackend solver
Definition axisymmetric.hpp:139
Real tolerance
Definition axisymmetric.hpp:137
int azimuthal_order
m
Definition axisymmetric.hpp:133
std::optional< pml::PmlBox< 2 > > pml
absorbing layers (r-max, z-min, z-max)
Definition axisymmetric.hpp:134
A quasi-normal mode of order m.
Definition axisymmetric.hpp:145
Real residual
Arnoldi residual.
Definition axisymmetric.hpp:149
Real quality
Q = Re ω / (−2 Im ω)
Definition axisymmetric.hpp:148
Vector meridian
(E_r, E_z) coefficients (full size)
Definition axisymmetric.hpp:150
Vector azimuthal
v = -i r E_phi coefficients (full size)
Definition axisymmetric.hpp:151
Complex omega
complex angular frequency [rad/s], Im ω < 0 for decay
Definition axisymmetric.hpp:146
Real wavelength
2π c0 / Re ω [m]
Definition axisymmetric.hpp:147
Definition axisymmetric.hpp:301
Vector meridian
(E_r, E_z) coefficients (full size)
Definition axisymmetric.hpp:303
int azimuthal_order
Definition axisymmetric.hpp:302
Vector azimuthal
Definition axisymmetric.hpp:304
std::shared_ptr< const KeptFactorisation > factorisation
Definition axisymmetric.hpp:307
Definition axisymmetric.hpp:270
materials::MaterialMap materials
by cell tag; the background for unlisted tags
Definition axisymmetric.hpp:272
int extra_quadrature_order
added to 2p for the non-polynomial incident field
Definition axisymmetric.hpp:291
std::vector< mesh::Tag > pec_tags
facets with n × E = 0 (scattered field = −incident)
Definition axisymmetric.hpp:273
AxisymmetricField incident
m-th component of the incident field (scattered-field formulation) ...
Definition axisymmetric.hpp:286
AxisymmetricField current
Definition axisymmetric.hpp:289
solvers::DirectSolverBackend solver
Definition axisymmetric.hpp:290
Real omega
angular frequency [rad/s]
Definition axisymmetric.hpp:271
mesh::Tag axis_tag
facets on the axis r = 0 (required)
Definition axisymmetric.hpp:274
int azimuthal_order
m of the incident component
Definition axisymmetric.hpp:275
std::optional< pml::PmlBox< 2 > > pml
Definition axisymmetric.hpp:276
bool keep_factorisation
Definition axisymmetric.hpp:296
std::optional< LayerStack< 3 > > background
Definition axisymmetric.hpp:284
int pml_extra_quadrature_order
Definition axisymmetric.hpp:292
Definition postprocess.hpp:28