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

Coefficients of the scalar form; an empty function means zero. More...

#include <h1_forms.hpp>

Public Attributes

ScalarField< Dim > diffusion
 
TensorField< Dim > diffusion_tensor
 
ScalarField< Dim > reaction
 β(x)
 
ScalarField< Dim > source
 
VectorField< Dim > gradient_source
 Vector source g(x) paired with the gradient of the test function, \( (g, \nabla v) \).
 
ReferenceScalarField< Dim > source_reference
 Additional source f(ξ, x) in reference coordinates of the cell (per-cell forms).
 

Detailed Description

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

Coefficients of the scalar form; an empty function means zero.

Member Data Documentation

◆ diffusion

template<int Dim>
ScalarField<Dim> hpfem::assembly::ScalarForm< Dim >::diffusion

α(x) [problem units]

◆ diffusion_tensor

template<int Dim>
TensorField<Dim> hpfem::assembly::ScalarForm< Dim >::diffusion_tensor

Tensor diffusion A(x) (added to α I): \( (A\nabla u, \nabla v) \), e.g. the rotated permittivity of the dual Maxwell problem in 2D.

◆ gradient_source

template<int Dim>
VectorField<Dim> hpfem::assembly::ScalarForm< Dim >::gradient_source

Vector source g(x) paired with the gradient of the test function, \( (g, \nabla v) \).

◆ reaction

template<int Dim>
ScalarField<Dim> hpfem::assembly::ScalarForm< Dim >::reaction

β(x)

◆ source

template<int Dim>
ScalarField<Dim> hpfem::assembly::ScalarForm< Dim >::source

f(x)

◆ source_reference

template<int Dim>
ReferenceScalarField<Dim> hpfem::assembly::ScalarForm< Dim >::source_reference

Additional source f(ξ, x) in reference coordinates of the cell (per-cell forms).


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