|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
Description of a scattering problem. More...
#include <scattering.hpp>

Public Attributes | |
| Real | omega = 0 |
| angular frequency [rad/s] | |
| materials::MaterialMap | materials |
| by cell tag; the background for unlisted tags | |
| IncidentField< Dim > | incident |
| IncidentField< Dim > | incident_wave |
| std::optional< LayerStack< Dim > > | background |
| Formulation | formulation = Formulation::kTotalField |
| std::vector< mesh::Tag > | pec_tags |
| facets with n × E = 0 | |
| std::vector< mesh::Tag > | incident_tags |
| facets with n × E = n × E_inc (test domains) | |
| assembly::ComplexVectorField< Dim > | current |
| f = iωμ0 J, total-field formulation only | |
| std::optional< pml::PmlBox< Dim > > | pml |
| absorbing layers (stretched material tensors) | |
| std::vector< assembly::PeriodicPair< Dim > > | periodic |
| std::vector< WaveguidePort > | ports |
| solvers::DirectSolverBackend | solver = solvers::DirectSolverBackend::kAuto |
| direct solver | |
| bool | condense = true |
| bool | keep_factorisation = false |
| ProgressCallback | progress |
| int | extra_quadrature_order = 4 |
| added to 2p for the non-polynomial incident field | |
| int | pml_extra_quadrature_order = 6 |
| added to 2p in PML cells (rational stretched tensors) | |
Description of a scattering problem.
| std::optional<LayerStack<Dim> > hpfem::physics::ScatteringSetup< Dim >::background |
Layered background (ADR-0009): the incident field is then the stack's plane wave (LayerStack::plane_wave(...).field), the scattered-field source lives only where a cell's material deviates from the stack at the cell centroid, and cross-sections are normalised by the incidence medium. Layer interfaces must coincide with facets.
| bool hpfem::physics::ScatteringSetup< Dim >::condense = true |
static condensation of the interior DoFs in solve
| assembly::ComplexVectorField<Dim> hpfem::physics::ScatteringSetup< Dim >::current |
f = iωμ0 J, total-field formulation only
| int hpfem::physics::ScatteringSetup< Dim >::extra_quadrature_order = 4 |
added to 2p for the non-polynomial incident field
| Formulation hpfem::physics::ScatteringSetup< Dim >::formulation = Formulation::kTotalField |
| IncidentField<Dim> hpfem::physics::ScatteringSetup< Dim >::incident |
analytic field in the background medium (optional)
| std::vector<mesh::Tag> hpfem::physics::ScatteringSetup< Dim >::incident_tags |
facets with n × E = n × E_inc (test domains)
| IncidentField<Dim> hpfem::physics::ScatteringSetup< Dim >::incident_wave |
The incident plane wave alone where incident is the field of a layered background (LayeredPlaneWave::incident_wave); empty means incident. Reflected fields and orders are measured against it (incident_wave, power_balance, diffraction_orders).
| bool hpfem::physics::ScatteringSetup< Dim >::keep_factorisation = false |
Keep the factorised system in the solution (ScatteringSolution::factorisation) for adjoint and tangent solves of the sensitivities (ADR-0012): no second assembly and factorisation, at the price of holding the factors as long as the solution lives.
| materials::MaterialMap hpfem::physics::ScatteringSetup< Dim >::materials |
by cell tag; the background for unlisted tags
| Real hpfem::physics::ScatteringSetup< Dim >::omega = 0 |
angular frequency [rad/s]
| std::vector<mesh::Tag> hpfem::physics::ScatteringSetup< Dim >::pec_tags |
facets with n × E = 0
| std::vector<assembly::PeriodicPair<Dim> > hpfem::physics::ScatteringSetup< Dim >::periodic |
Bloch-periodic directions
| std::optional<pml::PmlBox<Dim> > hpfem::physics::ScatteringSetup< Dim >::pml |
absorbing layers (stretched material tensors)
| int hpfem::physics::ScatteringSetup< Dim >::pml_extra_quadrature_order = 6 |
added to 2p in PML cells (rational stretched tensors)
| std::vector<WaveguidePort> hpfem::physics::ScatteringSetup< Dim >::ports |
Waveguide ports (modal absorption and excitation on boundary facets, total-field formulation; 2D only so far)
| ProgressCallback hpfem::physics::ScatteringSetup< Dim >::progress |
Called when a phase of solve starts (assembly, constraints, factorisation, solve, post) and when it is done; returning false cancels the solve (Cancelled). Optional.
| solvers::DirectSolverBackend hpfem::physics::ScatteringSetup< Dim >::solver = solvers::DirectSolverBackend::kAuto |
direct solver