Recommend an updated resolution \(L_{\rm new}\) based on the resolution \(L\) of the Strahlkorper and its residual \(\delta\).
More...
|
|
| Residual (double min_residual, double max_residual, size_t min_resolution_l, const Options::Context &context={}) |
| |
| std::string | observation_name () override |
| |
|
template<typename Metavariables , typename Frame > |
| size_t | operator() (const Parallel::GlobalCache< Metavariables > &, const ylm::Strahlkorper< Frame > &strahlkorper, const FastFlow::IterInfo &info) const |
| |
|
void | pup (PUP::er &p) override |
| |
| bool | is_equal (const Criterion &other) const override |
| |
|
| 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...
|
| |
Recommend an updated resolution \(L_{\rm new}\) based on the resolution \(L\) of the Strahlkorper and its residual \(\delta\).
Details
The returned recommended resolution \(L_{\rm new}\) depends on the following options:
The maximum resolution \(L_{\rm max}\) is provided by the global cache entry ah::Tags::LMax. The value returned for \(L_{\rm new}\) is then determined as follows:
- If \(L > L_{\rm min}\) and \(\delta < \delta_{\rm min}\), then \(L_{\rm new} = L - 1\)
- If \(L < L_{\rm max}\) and \(\delta > \delta_{\rm max}\), then \(L_{\rm new} = L + 1\)
- Otherwise, \(L_{\rm new} = L\) Note that the residual is obtained from the provided FastFlow::IterInfo. The residual is the gr::surfaces::expansion weighted by the FastFlow weights.