SpECTRE  v2022.09.02
ah::callbacks::ObserveCenters< InterpolationTargetTag > Struct Template Reference

Writes the center of an apparent horizon to disk in both the Frame::Grid 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)
 

Detailed Description

template<typename InterpolationTargetTag>
struct ah::callbacks::ObserveCenters< InterpolationTargetTag >

Writes the center of an apparent horizon to disk in both the Frame::Grid 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:

  • Time
  • GridCenter_x
  • GridCenter_y
  • GridCenter_z
  • InertialCenter_x
  • InertialCenter_y
  • InertialCenter_z
Note
Requires StrahlkorperTags::Strahlkorper<Frame::Grid> and StrahlkorperTags::CartesianCoords<Frame::Inertial> and StrahlkorperTags::EuclideanAreaElement<Frame::Grid> to be in the DataBox of the InterpolationTarget.

The documentation for this struct was generated from the following file: