SpECTRE  v2025.08.19
RandomAmrMetavars< Dim, KeepCoarseGrids > Struct Template Reference

The metavariables for the RandomAmr executable. More...

#include <RandomAmr.hpp>

Classes

struct  amr
 
struct  factory_creation
 
struct  registration
 

Public Types

using system = DummySystem
 
using dg_element_array = DgElementArray< RandomAmrMetavars, tmpl::list< Parallel::PhaseActions< Parallel::Phase::Initialization, tmpl::list< Initialization::Actions::InitializeItems< amr::Initialization::Domain< volume_dim >, amr::Initialization::Initialize< volume_dim, RandomAmrMetavars > >, Parallel::Actions::TerminatePhase > >, Parallel::PhaseActions< Parallel::Phase::Register, tmpl::list< amr::Actions::RegisterElement, Parallel::Actions::TerminatePhase > >, Parallel::PhaseActions< Parallel::Phase::CheckDomain, tmpl::list<::amr::Actions::SendAmrDiagnostics, Parallel::Actions::TerminatePhase > >, Parallel::PhaseActions< Parallel::Phase::Evolve, tmpl::list< PhaseControl::Actions::ExecutePhaseChange > > > >
 
using component_list = tmpl::list< amr::Component< RandomAmrMetavars >, dg_element_array >
 

Public Member Functions

void pup (PUP::er &)
 

Static Public Attributes

static constexpr size_t volume_dim = Dim
 
static constexpr Options::String help
 
static constexpr auto default_phase_order
 

Detailed Description

template<size_t Dim, bool KeepCoarseGrids>
struct RandomAmrMetavars< Dim, KeepCoarseGrids >

The metavariables for the RandomAmr executable.

Member Data Documentation

◆ default_phase_order

template<size_t Dim, bool KeepCoarseGrids>
constexpr auto RandomAmrMetavars< Dim, KeepCoarseGrids >::default_phase_order
staticconstexpr
Initial value:
=
@ Evolve
phase in which time steps are taken for an evolution executable
@ UpdateSections
phase in which array sections are updated
@ Register
phase in which components register with other components
@ CheckDomain
phase in which sanity checks are done after AMR
@ Initialization
initial phase of an executable
@ Exit
final phase of an executable

◆ help

template<size_t Dim, bool KeepCoarseGrids>
constexpr Options::String RandomAmrMetavars< Dim, KeepCoarseGrids >::help
staticconstexpr
Initial value:
{
"Test anisotropic refinement by randomly refining a grid.\n"}

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