|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <residual_estimator.hpp>
Public Attributes | |
| int | extra_order = 2 |
| Added to 2p for the quadrature degree on cells and facets (+2 on curved cells). | |
| bool | divergence_terms = true |
| Include the Gauss-law terms (divergence residual and normal-flux jumps). | |
| Real | length_scale = 0 |
| Real | difference_step = 1e-4 |
| Real hpfem::adaptivity::EstimatorOptions::difference_step = 1e-4 |
Step of the central differences, in reference coordinates, that supply the derivatives of \( w \) and \( d \) inside a cell (both are polynomial in ξ on affine cells with constant coefficients, so the differences are exact up to rounding).
| bool hpfem::adaptivity::EstimatorOptions::divergence_terms = true |
Include the Gauss-law terms (divergence residual and normal-flux jumps).
| int hpfem::adaptivity::EstimatorOptions::extra_order = 2 |
Added to 2p for the quadrature degree on cells and facets (+2 on curved cells).
| Real hpfem::adaptivity::EstimatorOptions::length_scale = 0 |
Length scale ℓ [m] multiplying the Gauss-law terms (squared), which makes them dimensionally consistent with the curl–curl residual. 0 (default): ℓ = 1/k from the k_squared argument, the wavelength scale (ℓ = 1 if k_squared is 0); set ℓ = c0/ω when k_squared is ω² with SI tensors.