SpECTRE  v2026.11.11
Loading...
Searching...
No Matches
amr::Criteria::RefineAtBoundary< Dim, DimToRefine > Class Template Reference

Split boundary elements in the direction of the boundary. More...

#include <RefineAtBoundary.hpp>

Public Types

using options = tmpl::list<>
using compute_tags_for_observation_box = tmpl::list<>
using argument_tags = tmpl::list<domain::Tags::Element<Dim>>

Public Member Functions

amr::Criteria::Type type () override
std::string observation_name () override
template<typename Metavariables>
std::array< amr::Flag, Dim > operator() (const Element< Dim > &element, Parallel::GlobalCache< Metavariables > &, const ElementId< Dim > &) const
Public Member Functions inherited from amr::Criterion
 Criterion (CkMigrateMessage *msg)
 WRAPPED_PUPable_abstract (Criterion)
template<typename ComputeTagsList, typename DataBoxType, typename Metavariables>
auto evaluate (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &element_id) const
 Evaluates the AMR criteria by selecting the appropriate derived class and forwarding its argument_tags from the ObservationBox (along with the GlobalCache and ArrayIndex) to the call operator of the derived class.

Static Public Member Functions

static std::string name ()

Static Public Attributes

static constexpr Options::String help

Detailed Description

template<size_t Dim, size_t DimToRefine>
class amr::Criteria::RefineAtBoundary< Dim, DimToRefine >

Split boundary elements in the direction of the boundary.

Member Function Documentation

◆ observation_name()

template<size_t Dim, size_t DimToRefine>
std::string amr::Criteria::RefineAtBoundary< Dim, DimToRefine >::observation_name ( )
inlineoverridevirtual

Implements amr::Criterion.

◆ type()

template<size_t Dim, size_t DimToRefine>
amr::Criteria::Type amr::Criteria::RefineAtBoundary< Dim, DimToRefine >::type ( )
inlineoverridevirtual

Implements amr::Criterion.

Member Data Documentation

◆ help

template<size_t Dim, size_t DimToRefine>
Options::String amr::Criteria::RefineAtBoundary< Dim, DimToRefine >::help
staticconstexpr
Initial value:
= {
"Split boundary elements in the direction of the boundary."}

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