SpECTRE  v2022.10.04
amr::Criterion Class Reference

Base class for something that determines how an adaptive mesh should be changed. More...

#include <Criterion.hpp>

Public Member Functions

 Criterion (CkMigrateMessage *msg)
 
 WRAPPED_PUPable_abstract (Criterion)
 
template<typename ComputeTagsList , typename DataBoxType , typename Metavariables , typename ArrayIndex >
auto evaluate (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index) const
 

Detailed Description

Base class for something that determines how an adaptive mesh should be changed.

Details

When AMR criteria are evaluated for each element, they should return a std::aray<amr::domain::Flag, Dim> containing the recommended refinement choice in each logical dimension of the Element.


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