|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <maxwell_forms.hpp>
Public Attributes | |
| CurlTensorField< Dim > | inverse_permeability |
| μ⁻¹(x) | |
| TensorField< Dim > | permittivity |
| ε(x) | |
| ComplexVectorField< Dim > | source |
| f(x), e.g. iωJ | |
| ComplexCurlField< Dim > | curl_source |
| std::optional< int > | quadrature_order |
Coefficients of the Maxwell forms; an empty function means the identity (ε = μ = 1, i.e. dimensionless vacuum) or zero (sources). The load is \( \ell(v) = \int_\Omega f\cdot v + \int_\Omega g\cdot\nabla\times v \); the curl source \( g \) carries the term \( -\nabla\times\big((\mu^{-1} - \mu_b^{-1})\nabla\times E^{inc}\big) \) of the scattered-field formulation in weak (integrated-by-parts) form, see docs/theory/maxwell.md#scattered-field-formulation.
| ComplexCurlField<Dim> hpfem::assembly::MaxwellForm< Dim >::curl_source |
g(x), paired with curl v
| CurlTensorField<Dim> hpfem::assembly::MaxwellForm< Dim >::inverse_permeability |
μ⁻¹(x)
| TensorField<Dim> hpfem::assembly::MaxwellForm< Dim >::permittivity |
ε(x)
| std::optional<int> hpfem::assembly::MaxwellForm< Dim >::quadrature_order |
Total degree of the quadrature rule for this cell; overrides the assembler's 2 p + extra_order (plus 2 on curved cells), e.g. for PML cells.
| ComplexVectorField<Dim> hpfem::assembly::MaxwellForm< Dim >::source |
f(x), e.g. iωJ