SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
amr::Initialization::Initialize< Dim, Metavariables > Struct Template Reference

Initialize items related to adaptive mesh refinement. More...

#include <Initialize.hpp>

Public Types

using ElementArray = typename Metavariables::amr::element_array
using const_global_cache_tags = tmpl::list<>
using mutable_global_cache_tags = tmpl::list<>
using simple_tags_from_options = tmpl::list<>
using argument_tags = tmpl::list<>
using return_tags = tmpl::list<amr::Tags::Info<Dim>>
using simple_tags
using compute_tags

Static Public Member Functions

static void apply (const gsl::not_null< amr::Info< Dim > * > amr_info)
 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, typename Metavariables>
struct amr::Initialization::Initialize< Dim, Metavariables >

Initialize items related to adaptive mesh refinement.

See also
InitializeItems

Member Typedef Documentation

◆ compute_tags

template<size_t Dim, typename Metavariables>
using amr::Initialization::Initialize< Dim, Metavariables >::compute_tags
Initial value:
tmpl::conditional_t<
Metavariables::amr::keep_coarse_grids,
tmpl::list<amr::Tags::GridIndexObservationKeyCompute<Dim>,
tmpl::list<>>
An observers::Tags::ObservationKey that identifies the finest grid. Can be used to observe things onl...
Definition Tags.hpp:157

◆ simple_tags

template<size_t Dim, typename Metavariables>
using amr::Initialization::Initialize< Dim, Metavariables >::simple_tags
Initial value:
tmpl::append<
return_tags, tmpl::list<amr::Tags::NeighborInfo<Dim>>,
tmpl::conditional_t<
Metavariables::amr::keep_coarse_grids,
tmpl::list<
tmpl::list<>>>
The Parallel::Section<ParallelComponent, SectionIdTag> that this element belongs to.
Definition Section.hpp:29
The IDs of the elements that cover the same region on the finer (child) grid. Only important if AMR i...
Definition Tags.hpp:103
The ID of the element that covers the same region or more on the coarser (parent) grid....
Definition Tags.hpp:96
The mesh of the parent element. Needed for projections between grids. Only important if AMR is config...
Definition Tags.hpp:110

The documentation for this struct was generated from the following file:
  • src/ParallelAlgorithms/Amr/Actions/Initialize.hpp