|
SpECTRE
v2025.08.19
|
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 post_horizon_find_callbacks list of an InterpolationTargetTag.
More...
#include <ObserveCenters.hpp>
Static Public Member Functions | |
| template<typename DbTags , typename Metavariables , typename TemporalId > | |
| static void | apply (const db::DataBox< DbTags > &box, Parallel::GlobalCache< Metavariables > &cache, const TemporalId &temporal_id) |
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 post_horizon_find_callbacks list of an InterpolationTargetTag.
The centers will be written to a subfile with the name /ApparentHorizons/TargetName_Centers.dat where TargetName is the pretty_type::name of the InterpolationTargetTag 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.