SpECTRE  v2025.03.17
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  Initialization::Actions::InitializeMCTags< System, EnergyBins, NeutrinoSpecies >
 Allocate variables needed for evolution of Monte Carlo transport. 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 std::vector< Block< VolumeDim > > &blocks, 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 Element< Dim > &element, Spectral::Quadrature legendre_quadrature)
 Construct the initial Mesh of an Element. More...
 
template<size_t Dim>
Mesh< Dim > domain::Initialization::create_initial_mesh (const std::vector< std::array< size_t, Dim > > &initial_extents, const Block< Dim > &block, const ElementId< Dim > &element_id, Spectral::Quadrature legendre_quadrature)
 Construct the initial Mesh of an Element from its Block and ElementId. 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 std::vector< Block< VolumeDim > > &  blocks,
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 blocks. It assumes that all elements in a given block have the same refinement level, given in initial_refinement_levels.

◆ create_initial_mesh() [1/2]

template<size_t Dim>
Mesh< Dim > domain::Initialization::create_initial_mesh ( const std::vector< std::array< size_t, Dim > > &  initial_extents,
const Block< Dim > &  block,
const ElementId< Dim > &  element_id,
Spectral::Quadrature  legendre_quadrature 
)

Construct the initial Mesh of an Element from its Block and ElementId.

Parameters
initial_extentsinitial extents for Elements in each Block of the Domain
blockthe Block of the Element
element_idthe ElementId of the Element
legendre_quadraturethe quadrature rule/grid point distribution for dimensions that use Spectral::Basis::Legendre

◆ create_initial_mesh() [2/2]

template<size_t Dim>
Mesh< Dim > domain::Initialization::create_initial_mesh ( const std::vector< std::array< size_t, Dim > > &  initial_extents,
const Element< Dim > &  element,
Spectral::Quadrature  legendre_quadrature 
)

Construct the initial Mesh of an Element.

Parameters
initial_extentsinitial extents for Elements in each Block of the Domain
elementElement
legendre_quadraturethe quadrature rule/grid point distribution for dimensions that use Spectral::Basis::Legendre