hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | List of all members
hpfem::adaptivity::EstimatorOptions Struct Reference

#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
 

Member Data Documentation

◆ difference_step

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).

◆ divergence_terms

bool hpfem::adaptivity::EstimatorOptions::divergence_terms = true

Include the Gauss-law terms (divergence residual and normal-flux jumps).

◆ extra_order

int hpfem::adaptivity::EstimatorOptions::extra_order = 2

Added to 2p for the quadrature degree on cells and facets (+2 on curved cells).

◆ length_scale

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.


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