SpECTRE  v2024.02.05
amr::Initialization::Domain< Dim > Struct Template Reference

Initialize items related to the structure of a Domain. More...

#include <InitializeDomain.hpp>

Public Types

using const_global_cache_tags = tmpl::list<::domain::Tags::Domain< Dim > >
 
using mutable_global_cache_tags = tmpl::list<>
 
using simple_tags_from_options = tmpl::list<::domain::Tags::InitialExtents< Dim >, ::domain::Tags::InitialRefinementLevels< Dim >, evolution::dg::Tags::Quadrature >
 
using argument_tags = tmpl::append< const_global_cache_tags, simple_tags_from_options, tmpl::list<::Parallel::Tags::ArrayIndex > >
 
using return_tags = tmpl::list<::domain::Tags::Mesh< Dim >, ::domain::Tags::Element< Dim > >
 
using simple_tags = tmpl::push_back< return_tags, ::domain::Tags::NeighborMesh< Dim > >
 
using compute_tags = tmpl::list<>
 

Static Public Member Functions

static void apply (const gsl::not_null< Mesh< Dim > * > mesh, const gsl::not_null< Element< Dim > * > element, 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>
struct amr::Initialization::Domain< Dim >

Initialize items related to the structure of a Domain.

See also
InitializeItems
Note
This only initializes the Element and the Mesh on each element of an array component. This is all that is needed about the Domain in order to test the mechanics of adaptive mesh refinement.

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