SpECTRE
v2023.01.13
|
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 |
Base class for something that determines how an adaptive mesh should be changed.
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.