|
SpECTRE
v2026.04.01
|
Writes the center of an apparent horizon to disk in both the Frame template parameter frame and Frame::Inertial frame. Intended to be used in the horizon_find_callbacks list of a ah::protocols::HorizonMetavars. More...
#include <ObserveCenters.hpp>
Static Public Member Functions | |
| template<typename DbTags, typename Metavariables> | |
| static void | apply (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const FastFlow::Status) |
Writes the center of an apparent horizon to disk in both the Frame template parameter frame and Frame::Inertial frame. Intended to be used in the horizon_find_callbacks list of a ah::protocols::HorizonMetavars.
The centers will be written to a subfile with the name /ApparentHorizons/TargetName_Centers.dat where TargetName is the pretty_type::name of the HorizonMetavars template parameter.
The columns of the dat file are:
The Frame template parameter must be either Frame::Grid or Frame::Distorted. Even though the template parameter can be Frame::Distorted, we still write GridCenter_? because the centers of the objects are the same in the Grid and Distorted frames.