SpECTRE  v2026.06.09.01
Loading...
Searching...
No Matches
amr::Policies Class Reference

A set of runtime policies controlling adaptive mesh refinement. More...

#include <Policies.hpp>

Classes

struct  Isotropy
 The isotropy of AMR. More...
struct  Limits
 The limits on refinement level and resolution for AMR. More...
struct  EnforceTwoToOneBalanceInNormalDirection
 Whether or not to enforce 2:1 balance in the direction normal to element faces. More...
struct  AllowCoarsening
 Whether or not to allow coarsening or only refining. More...

Public Types

using options

Public Member Functions

 Policies (amr::Isotropy isotropy, const amr::Limits &limits, bool enforce_two_to_one_balance_in_normal_direction, bool allow_coarsening)
amr::Isotropy isotropy () const
amr::Limits limits () const
bool enforce_two_to_one_balance_in_normal_direction () const
bool allow_coarsening () const
void pup (PUP::er &p)

Static Public Attributes

static constexpr Options::String help

Detailed Description

A set of runtime policies controlling adaptive mesh refinement.

Member Typedef Documentation

◆ options

using amr::Policies::options
Initial value:
Whether or not to allow coarsening or only refining.
Definition Policies.hpp:47
Whether or not to enforce 2:1 balance in the direction normal to element faces.
Definition Policies.hpp:39
The isotropy of AMR.
Definition Policies.hpp:22
The limits on refinement level and resolution for AMR.
Definition Policies.hpp:30

Member Data Documentation

◆ help

Options::String amr::Policies::help
staticconstexpr
Initial value:
= {
"Policies controlling adaptive mesh refinement."}

The documentation for this class was generated from the following file:
  • src/ParallelAlgorithms/Amr/Policies/Policies.hpp