SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
elliptic::dg::InitializeGeometry< Dim > Struct Template Reference

Initialize the background-independent geometry for the elliptic DG operator. More...

#include <Initialization.hpp>

Public Types

using return_tags
using argument_tags
using volume_tags = argument_tags

Static Public Member Functions

static void apply (gsl::not_null< Mesh< Dim > * > mesh, gsl::not_null< Element< Dim > * > element, gsl::not_null< DirectionalIdMap< Dim, Mesh< Dim > > * > neighbor_meshes, gsl::not_null< ElementMap< Dim, Frame::Inertial > * > element_map, gsl::not_null< tnsr::I< DataVector, Dim, Frame::ElementLogical > * > logical_coords, gsl::not_null< tnsr::I< DataVector, Dim, Frame::Inertial > * > inertial_coords, gsl::not_null< InverseJacobian< DataVector, Dim, Frame::ElementLogical, Frame::Inertial > * > inv_jacobian, gsl::not_null< Scalar< DataVector > * > det_inv_jacobian, gsl::not_null< Scalar< DataVector > * > det_jacobian, gsl::not_null< InverseJacobian< DataVector, Dim, Frame::ElementLogical, Frame::Inertial > * > det_times_inv_jacobian, const std::vector< std::array< size_t, Dim > > &initial_extents, const std::vector< std::array< size_t, Dim > > &initial_refinement, const Domain< Dim > &domain, const domain::FunctionsOfTimeMap &functions_of_time, Spectral::Quadrature i1_quadrature, const ElementId< Dim > &element_id)

Detailed Description

template<size_t Dim>
struct elliptic::dg::InitializeGeometry< Dim >

Initialize the background-independent geometry for the elliptic DG operator.

Geometric aliasing

The geometric quantities such as Jacobians are evaluated on the DG grid. Since we know them analytically, we could also evaluate them on a higher-order grid or with a stronger quadrature (Gauss instead of Gauss-Lobatto) to combat geometric aliasing. See discussions in [209] and [73] .

Member Typedef Documentation

◆ argument_tags

template<size_t Dim>
using elliptic::dg::InitializeGeometry< Dim >::argument_tags
Initial value:
tmpl::list<domain::Tags::InitialExtents<Dim>,
The Domain.
Definition Domain.hpp:20
Tag to retrieve the FunctionsOfTime from the GlobalCache.
Definition Tags.hpp:20
The initial refinement level per dimension for all elements in each block of the initial computationa...
Definition InitialRefinementLevels.hpp:23
The quadrature method used for the elliptic DG discretization.
Definition Tags.hpp:102

◆ return_tags

template<size_t Dim>
using elliptic::dg::InitializeGeometry< Dim >::return_tags
Initial value:
tmpl::list<
Definition IndexType.hpp:43
Definition IndexType.hpp:46
The coordinates in a given frame.
Definition Tags.hpp:85
The determinant of the inverse Jacobian from the source frame to the target frame.
Definition Tags.hpp:189
The determinant of the Jacobian from the source frame to the target frame.
Definition Tags.hpp:219
The inverse Jacobian times the determinant of the Jacobian.
Definition Tags.hpp:234
The coordinate map from the ElementLogical frame to the TargetFrame.
Definition Tags.hpp:70
The Element associated with the DataBox.
Definition Tags.hpp:52
The inverse Jacobian from the source frame to the target frame.
Definition Tags.hpp:118
The computational grid of the Element in the DataBox.
Definition Tags.hpp:62
Holds the mesh of each neighboring element, oriented to the host's logical frame.
Definition NeighborMesh.hpp:29

The documentation for this struct was generated from the following file:
  • src/Elliptic/DiscontinuousGalerkin/Initialization.hpp