|
SpECTRE
v2025.08.19
|
Base class for criteria that determine how the resolution of an apparent horizon should be changed. More...
#include <Criterion.hpp>
Public Member Functions | |
| Criterion (CkMigrateMessage *msg) | |
| WRAPPED_PUPable_abstract (Criterion) | |
| virtual std::string | observation_name ()=0 |
| virtual bool | is_equal (const Criterion &other) const =0 |
| template<typename ComputeTagsList , typename DataBoxType , typename Metavariables , typename Frame > | |
| auto | evaluate (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ylm::Strahlkorper< Frame > &strahlkorper, const FastFlow::IterInfo &info) const |
Evaluates the apparent horizon criteria by selecting the appropriate derived class and forwarding its argument_tags from the ObservationBox (along with the GlobalCache) to the call operator of the derived class. More... | |
Base class for criteria that determine how the resolution of an apparent horizon should be changed.
Each class derived from this class should
argument_tags and compute_tags_for_observation_box that are type lists of tags used in the call operatorsize_t that is the recommended resolution \(L\) for the Strahlkorper representing the apparent horizonThe call operator should take the following arguments, in order:
argument_tags
|
inline |
Evaluates the apparent horizon criteria by selecting the appropriate derived class and forwarding its argument_tags from the ObservationBox (along with the GlobalCache) to the call operator of the derived class.
compute_tags_for_observation_box for each derived Criterion listed in the factory_classes.