SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon > Struct Template Reference

Post interpolation callback that dumps metric data in Bondi-Sachs form on a number of extraction radii given by the intrp::TargetPoints::Sphere target. More...

#include <DumpBondiSachsOnWorldtube.hpp>

Public Types

using const_global_cache_tags = tmpl::list<Cce::Tags::FilePrefix>
using cce_boundary_tags
using extra_klein_gordon_cce_tags
using gh_source_vars_for_cce
using gh_source_vars_from_interpolation

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)

Static Public Attributes

static constexpr bool include_klein_gordon = IncludeKleinGordon
static constexpr double fill_invalid_points_with

Detailed Description

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
struct intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >

Post interpolation callback that dumps metric data in Bondi-Sachs form on a number of extraction radii given by the intrp::TargetPoints::Sphere target.

To use this callback, the target must be the intrp::TargetPoints::Sphere target in the inertial frame. This callback also expects that the GH source vars on each of the target spheres are:

If IncludeKleinGordon is true, also expect:

This callback will write a new H5 file for each extraction radius in the Sphere target. The name of this file will be a file prefix specified by the Cce::Tags::FilePrefix prepended onto CceRXXXX.h5 where the XXXX is the zero-padded extraction radius rounded to the nearest integer. The quantities that will be written are

If IncludeKleinGordon is true, also writes:

Note
For all real quantities (Beta, DuR, R, W) (as well as the Klein-Gordon Psi an Pi if included) we omit writing the negative m modes, and the imaginary part of the m = 0 mode.

Member Typedef Documentation

◆ cce_boundary_tags

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
using intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >::cce_boundary_tags
Initial value:
Cce::Tags::BoundaryValue, include_klein_gordon>
db::wrap_tags_in< BoundaryPrefix, tmpl::append< tmpl::list< Tags::BondiBeta, Tags::BondiU, Tags::Dr< Tags::BondiU >, Tags::BondiQ, Tags::BondiW, Tags::BondiJ, Tags::Dr< Tags::BondiJ >, Tags::BondiH, Tags::Du< Tags::BondiJ >, Tags::BondiR, Tags::Du< Tags::BondiR >, Tags::DuRDividedByR >, tmpl::conditional_t< IncludeKleinGordon, tmpl::list< Cce::Tags::KleinGordonPsi, Cce::Tags::KleinGordonPi >, tmpl::list<> > > > characteristic_worldtube_boundary_tags
The collection of tags mutated by create_bondi_boundary_data (and create_klein_gordon_boundary_data i...
Definition BoundaryData.hpp:584
A prefix tag representing the boundary data for a quantity on the extraction surface.
Definition Tags.hpp:261

◆ extra_klein_gordon_cce_tags

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
using intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >::extra_klein_gordon_cce_tags
Initial value:
Auxiliary variable which is analytically the spatial derivative of the scalar field.
Definition Tags.hpp:60
The conjugate momentum of the scalar field.
Definition Tags.hpp:49
The scalar field.
Definition Tags.hpp:30
Definition Tags.hpp:65
Definition Tags.hpp:61

◆ gh_source_vars_for_cce

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
using intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >::gh_source_vars_for_cce
Initial value:
tmpl::append<
tmpl::list<gr::Tags::SpacetimeMetric<DataVector, 3>,
tmpl::conditional_t<include_klein_gordon, extra_klein_gordon_cce_tags,
tmpl::list<>>>
Auxiliary variable which is analytically the spatial derivative of the spacetime metric.
Definition Tags.hpp:38
Conjugate momentum to the spacetime metric.
Definition Tags.hpp:27

◆ gh_source_vars_from_interpolation

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
using intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >::gh_source_vars_from_interpolation
Initial value:
typename InterpolationTargetTag::vars_to_interpolate_to_target

Member Data Documentation

◆ fill_invalid_points_with

template<typename InterpolationTargetTag, bool IncludeKleinGordon = false>
double intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag, IncludeKleinGordon >::fill_invalid_points_with
staticconstexpr

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/Cce/Callbacks/DumpBondiSachsOnWorldtube.hpp