SpECTRE  v2024.03.19
evolution::dg::Initialization::Domain< Dim, UseControlSystems > Struct Template Reference

Initialize items related to the basic structure of the element. More...

#include <DgDomain.hpp>

Public Types

using const_global_cache_tags = tmpl::list<::domain::Tags::Domain< Dim > >
 Tags for constant items added to the GlobalCache. These items are initialized from input file options.
 
using mutable_global_cache_tags = tmpl::list< tmpl::conditional_t< UseControlSystems, ::control_system::Tags::FunctionsOfTimeInitialize, ::domain::Tags::FunctionsOfTimeInitialize > >
 Tags for mutable items added to the GlobalCache. These items are initialized from input file options.
 
using simple_tags_from_options = tmpl::list<::domain::Tags::InitialExtents< Dim >, ::domain::Tags::InitialRefinementLevels< Dim >, evolution::dg::Tags::Quadrature >
 Tags for simple DataBox items that are initialized from input file options.
 
using default_initialized_simple_tags = tmpl::list<::domain::Tags::NeighborMesh< Dim > >
 Tags for simple DataBox items that are default initialized.
 
using argument_tags = tmpl::append< const_global_cache_tags, simple_tags_from_options, tmpl::list<::Parallel::Tags::ArrayIndex > >
 Tags for items fetched by the DataBox and passed to the apply function.
 
using return_tags = tmpl::list<::domain::Tags::Mesh< Dim >, ::domain::Tags::Element< Dim >, ::domain::Tags::ElementMap< Dim, Frame::Grid >, ::domain::CoordinateMaps::Tags::CoordinateMap< Dim, Frame::Grid, Frame::Inertial > >
 Tags for items in the DataBox that are mutated by the apply function.
 
using simple_tags = tmpl::append< default_initialized_simple_tags, return_tags >
 Tags for mutable DataBox items that are either default initialized or initialized by the apply function.
 
using compute_tags = tmpl::list< ::domain::Tags::LogicalCoordinates< Dim >, ::domain::Tags::MappedCoordinates< ::domain::Tags::ElementMap< Dim, Frame::Grid >, ::domain::Tags::Coordinates< Dim, Frame::ElementLogical > >, ::domain::Tags::InverseJacobianCompute< ::domain::Tags::ElementMap< Dim, Frame::Grid >, ::domain::Tags::Coordinates< Dim, Frame::ElementLogical > >, Parallel::Tags::FromGlobalCache< tmpl::conditional_t< UseControlSystems, ::control_system::Tags::FunctionsOfTimeInitialize, ::domain::Tags::FunctionsOfTimeInitialize > >, ::domain::Tags::CoordinatesMeshVelocityAndJacobiansCompute< ::domain::CoordinateMaps::Tags::CoordinateMap< Dim, Frame::Grid, Frame::Inertial > >, ::domain::Tags::InertialFromGridCoordinatesCompute< Dim >, ::domain::Tags::ElementToInertialInverseJacobian< Dim >, ::domain::Tags::DetInvJacobianCompute< Dim, Frame::ElementLogical, Frame::Inertial >, ::domain::Tags::InertialMeshVelocityCompute< Dim >, evolution::domain::Tags::DivMeshVelocityCompute< Dim >, ::domain::Tags::MinimumGridSpacingCompute< Dim, Frame::Inertial > >
 Tags for immutable DataBox items (compute items or reference items) added to the DataBox.
 

Static Public Member Functions

static void apply (const gsl::not_null< Mesh< Dim > * > mesh, const gsl::not_null< Element< Dim > * > element, const gsl::not_null< ElementMap< Dim, Frame::Grid > * > element_map, const gsl::not_null< std::unique_ptr< ::domain::CoordinateMapBase< Frame::Grid, Frame::Inertial, Dim > > * > grid_to_inertial_map, const ::Domain< Dim > &domain, const std::vector< std::array< size_t, Dim > > &initial_extents, const std::vector< std::array< size_t, Dim > > &initial_refinement, const Spectral::Quadrature &quadrature, const ElementId< Dim > &element_id)
 Given the items fetched from a DataBox by the argument_tags, mutate the items in the DataBox corresponding to return_tags.
 

Detailed Description

template<size_t Dim, bool UseControlSystems = false>
struct evolution::dg::Initialization::Domain< Dim, UseControlSystems >

Initialize items related to the basic structure of the element.

Details

See the type aliases defined below for what items are added to the GlobalCache and DataBox and how they are initialized


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