SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
elliptic::dg::Actions Namespace Reference

Actions related to elliptic discontinuous Galerkin schemes. More...

Classes

struct  DgOperator
 Apply the DG operator to the PrimalFieldsTag and write the result to the OperatorAppliedToFieldsTag More...
struct  ImposeInhomogeneousBoundaryConditionsOnSource
 For linear systems, impose inhomogeneous boundary conditions as contributions to the fixed sources (i.e. the RHS of the equations). More...
struct  InitializeDomain
 Initialize items related to the basic structure of the element. More...

Typedefs

template<typename System, typename BackgroundTag = void>
using initialize_operator
 Initialize geometric and background quantities for the elliptic DG operator.
template<typename System, typename BackgroundTag = void>
using amr_projectors
 AMR projectors for the tags added by initialize_operator

Detailed Description

Actions related to elliptic discontinuous Galerkin schemes.

Typedef Documentation

◆ amr_projectors

template<typename System, typename BackgroundTag = void>
using elliptic::dg::Actions::amr_projectors
Initial value:
tmpl::append<
System::volume_dim, typename System::inv_metric_tag, BackgroundTag>>,
tmpl::conditional_t<
tmpl::list<>,
System::volume_dim, typename System::background_fields,
BackgroundTag>>>>
T is_same_v
Initialize background quantities for the elliptic DG operator, possibly including the metric necessar...
Definition Initialization.hpp:565
Initialize the geometry on faces and mortars for the elliptic DG operator.
Definition Initialization.hpp:256

AMR projectors for the tags added by initialize_operator

◆ initialize_operator

template<typename System, typename BackgroundTag = void>
using elliptic::dg::Actions::initialize_operator
Initial value:
tmpl::list<
detail::InitializeFacesMortarsAndBackground<System, BackgroundTag>>

Initialize geometric and background quantities for the elliptic DG operator.

The geometric and background quantities are initialized together because the geometry depends on the background metric through the normalization of face normals. Other examples for background fields are curvature quantities associated with the background metric, or matter sources such as a mass-density in the XCTS equations. All System::background_fields are retrieved from the BackgroundTag together, to enable re-using cached temporary quantities in the computations. The variables function is invoked on the BackgroundTag with the inertial coordinates, the element's Mesh and the element's inverse Jacobian. These arguments allow computing numeric derivatives, if necessary. The BackgroundTag can be set to void (default) if the System has no background fields.

DataBox:

See also
elliptic::dg::Actions::apply_operator