SpECTRE  v2024.04.12
intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag > 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 = Cce::Tags::characteristic_worldtube_boundary_tags< Cce::Tags::BoundaryValue >
 
using cce_tags_to_dump = db::wrap_tags_in< Cce::Tags::BoundaryValue, tmpl::list< Cce::Tags::BondiBeta, Cce::Tags::Dr< Cce::Tags::BondiJ >, Cce::Tags::Du< Cce::Tags::BondiR >, Cce::Tags::BondiH, Cce::Tags::BondiJ, Cce::Tags::BondiQ, Cce::Tags::BondiR, Cce::Tags::BondiU, Cce::Tags::BondiW > >
 
using gh_source_vars_for_cce = tmpl::list< gr::Tags::SpacetimeMetric< DataVector, 3 >, gh::Tags::Pi< DataVector, 3 >, gh::Tags::Phi< DataVector, 3 > >
 
using gh_source_vars_from_interpolation = typename InterpolationTargetTag::vars_to_interpolate_to_target
 

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 double fill_invalid_points_with
 

Detailed Description

template<typename InterpolationTargetTag>
struct intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag >

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:

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

Note
For all real quantities (Beta, DuR, R, W) we omit writing the negative m modes, and the imaginary part of the m = 0 mode.

Member Data Documentation

◆ fill_invalid_points_with

template<typename InterpolationTargetTag >
constexpr double intrp::callbacks::DumpBondiSachsOnWorldtube< InterpolationTargetTag >::fill_invalid_points_with
staticconstexpr

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