SpECTRE  v2024.04.12
Initialization

Actions and metafunctions used for initialization of parallel components. More...

Namespaces

namespace  Initialization::Tags
 Tags used during initialization of parallel components.
 

Classes

struct  control_system::Actions::Initialize< Metavariables, ControlSystem >
 Initialize items related to the control system. More...
 
struct  elliptic::dg::Actions::InitializeDomain< Dim >
 Initialize items related to the basic structure of the element. More...
 
struct  Initialization::Actions::ConservativeSystem< System >
 Allocate variables needed for evolution of conservative systems. More...
 
struct  evolution::dg::Initialization::Domain< Dim, UseControlSystems >
 Initialize items related to the basic structure of the element. More...
 
struct  Initialization::TimeStepping< Metavariables, TimeStepperBase >
 Initialize items related to time stepping. More...
 
struct  Initialization::TimeStepperHistory< Metavariables >
 Initialize time-stepper items. More...
 
struct  Initialization::Actions::Minmod< Dim >
 Allocate items for minmod limiter. More...
 
struct  Initialization::Actions::NonconservativeSystem< System >
 Allocate variables needed for evolution of nonconservative systems. More...
 
struct  evolution::Initialization::Actions::SetVariables< LogicalCoordinatesTag >
 Sets variables needed for evolution of hyperbolic systems. More...
 
struct  CurvedScalarWave::Initialization::InitializeConstraintDampingGammas< Dim >
 Mutator meant to be used with Initialization::Actions::AddSimpleTags to initialize the constraint damping parameters of the CurvedScalarWave system. More...
 
struct  CurvedScalarWave::Worldtube::Initialization::InitializeConstraintDampingGammas< Dim >
 Initializes the constraint damping parameters \(\gamma_1\) and \(\gamma_2\). More...
 
struct  ScalarWave::Actions::InitializeConstraints< Dim >
 Initialize items related to constraints of the ScalarWave system. More...
 
struct  amr::Initialization::Domain< Dim >
 Initialize items related to the structure of a Domain. More...
 
struct  amr::Initialization::Initialize< Dim >
 Initialize items related to adaptive mesh refinement. More...
 

Functions

template<size_t VolumeDim>
Element< VolumeDim > domain::Initialization::create_initial_element (const ElementId< VolumeDim > &element_id, const Block< VolumeDim > &block, const std::vector< std::array< size_t, VolumeDim > > &initial_refinement_levels)
 Creates an initial element of a Block. More...
 
template<size_t Dim>
Mesh< Dim > domain::Initialization::create_initial_mesh (const std::vector< std::array< size_t, Dim > > &initial_extents, const ElementId< Dim > &element_id, Spectral::Quadrature quadrature, const OrientationMap< Dim > &orientation={})
 Construct the initial Mesh of an Element. More...
 

Detailed Description

Actions and metafunctions used for initialization of parallel components.

Function Documentation

◆ create_initial_element()

template<size_t VolumeDim>
Element< VolumeDim > domain::Initialization::create_initial_element ( const ElementId< VolumeDim > &  element_id,
const Block< VolumeDim > &  block,
const std::vector< std::array< size_t, VolumeDim > > &  initial_refinement_levels 
)

Creates an initial element of a Block.

Details

This function creates an element at the refinement level and position specified by the element_id within the block. It assumes that all elements in a given block have the same refinement level, given in initial_refinement_levels.

◆ create_initial_mesh()

template<size_t Dim>
Mesh< Dim > domain::Initialization::create_initial_mesh ( const std::vector< std::array< size_t, Dim > > &  initial_extents,
const ElementId< Dim > &  element_id,
Spectral::Quadrature  quadrature,
const OrientationMap< Dim > &  orientation = {} 
)

Construct the initial Mesh of an Element.

Details

When constructing the Mesh of an Element, pass its id, and use the default argument for orientation. When constructing the mesh of a neighboring Element (when constructing mortars), pass the id and orientation of the neighbor.

Parameters
initial_extentsthe initial extents of each Block in the Domain
element_idid of an Element or its neighbor
quadraturethe quadrature rule/grid point distribution
orientationOrientationMap of (neighboring) element_id