hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | List of all members
hpfem::assembly::MaxwellForm< Dim > Struct Template Reference

#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
 

Detailed Description

template<int Dim>
struct hpfem::assembly::MaxwellForm< Dim >

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.

Member Data Documentation

◆ curl_source

template<int Dim>
ComplexCurlField<Dim> hpfem::assembly::MaxwellForm< Dim >::curl_source

g(x), paired with curl v

◆ inverse_permeability

template<int Dim>
CurlTensorField<Dim> hpfem::assembly::MaxwellForm< Dim >::inverse_permeability

μ⁻¹(x)

◆ permittivity

template<int Dim>
TensorField<Dim> hpfem::assembly::MaxwellForm< Dim >::permittivity

ε(x)

◆ quadrature_order

template<int Dim>
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.

◆ source

template<int Dim>
ComplexVectorField<Dim> hpfem::assembly::MaxwellForm< Dim >::source

f(x), e.g. iωJ


The documentation for this struct was generated from the following file: