SpECTRE  v2026.09.05
Loading...
Searching...
No Matches
Ccz4::Solutions::Ccz4WrappedGr< SolutionType > Class Template Reference

A wrapper for general-relativity analytic solutions that loads the analytic solution and then adds a function that returns any combination of the Ccz4 evolution variables. Specifically, see Ccz4::fd::System. More...

#include <Ccz4WrappedGr.hpp>

Public Types

using options = typename SolutionType::options
using DerivLapse
using DerivShift
using DerivSpatialMetric
using TimeDerivLapse = ::Tags::dt<gr::Tags::Lapse<DataVector>>
using TimeDerivShift = ::Tags::dt<gr::Tags::Shift<DataVector, volume_dim>>
using TimeDerivSpatialMetric
using IntermediateVars
template<typename DataType>
using tags

Public Member Functions

 Ccz4WrappedGr (const Ccz4WrappedGr &)=default
Ccz4WrappedGr & operator= (const Ccz4WrappedGr &)=default
 Ccz4WrappedGr (Ccz4WrappedGr &&)=default
Ccz4WrappedGr & operator= (Ccz4WrappedGr &&)=default
 Ccz4WrappedGr (const SolutionType &wrapped_solution)
auto get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override
template<typename... Tags>
tuples::TaggedTuple< Tags... > variables (const tnsr::I< DataVector, volume_dim > &x, const double t, tmpl::list< Tags... >) const
template<typename Tag>
tuples::TaggedTuple< Tag > variables (const tnsr::I< DataVector, volume_dim > &x, const double t, tmpl::list< Tag >) const
template<typename... Tags>
tuples::TaggedTuple< Tags... > variables (const tnsr::I< DataVector, volume_dim > &x, tmpl::list< Tags... >) const
template<typename Tag>
tuples::TaggedTuple< Tag > variables (const tnsr::I< DataVector, volume_dim > &x, tmpl::list< Tag >) const
void pup (PUP::er &p) override
Public Member Functions inherited from evolution::initial_data::InitialData
virtual const InitialData & unwrap () const
 Unwrap wrapper types (e.g. WithNoise, which wraps analytic initial data and adds random noise) to reach the underlying analytic solution or data.

Static Public Member Functions

static std::string name ()

Static Public Attributes

static constexpr size_t volume_dim = SolutionType::volume_dim
static constexpr Options::String help = SolutionType::help

Detailed Description

template<typename SolutionType>
class Ccz4::Solutions::Ccz4WrappedGr< SolutionType >

A wrapper for general-relativity analytic solutions that loads the analytic solution and then adds a function that returns any combination of the Ccz4 evolution variables. Specifically, see Ccz4::fd::System.

The wrapper returns the everywhere-nonnegative lapse \(|\alpha|\) in place of the wrapped solution's lapse \(\alpha\), with the lapse derivative and time derivative scaled by \(\mathrm{sgn}(\alpha)\) (where \(\mathrm{sgn}(0) := 0\)). For solutions with positive lapse this is an exact no-op. For solutions whose lapse is negative somewhere (e.g. the lapse of gr::Solutions::HighSpinKerrPuncture inside its throat) the sign flip is pure gauge: the spatial metric and extrinsic curvature are unchanged.

Member Typedef Documentation

◆ DerivLapse

template<typename SolutionType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::DerivLapse
Initial value:
tmpl::size_t<volume_dim>, Frame::Inertial>
Definition IndexType.hpp:46
Prefix indicating spatial derivatives.
Definition Prefixes.hpp:47

◆ DerivShift

template<typename SolutionType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::DerivShift
Initial value:

◆ DerivSpatialMetric

template<typename SolutionType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::DerivSpatialMetric

◆ IntermediateVars

template<typename SolutionType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::IntermediateVars
Initial value:
tuples::tagged_tuple_from_typelist<
typename SolutionType::template tags<DataVector>>

◆ tags

template<typename SolutionType>
template<typename DataType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::tags
Initial value:
tmpl::push_back<typename SolutionType::template tags<DataType>,
gr::Tags::Conformal< gr::Tags::SpatialMetric< DataType, Dim, Fr >, 2 > ConformalMetric
The conformally scaled spatial metric.
Definition Tags.hpp:94
The trace-free part of the extrinsic curvature.
Definition Tags.hpp:115
Auxiliary variable b in the gamma-driver condition eq. 12c of dumbser2017okk.
Definition Tags.hpp:429
The conformal factor that rescales the spatial metric.
Definition Tags.hpp:71
The CCZ4 evolved variable .
Definition Tags.hpp:369
The projection of the Z4 constraint vector along the normal direction.
Definition Tags.hpp:420
Definition Tags.hpp:143

◆ TimeDerivSpatialMetric

template<typename SolutionType>
using Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::TimeDerivSpatialMetric
Initial value:
Prefix indicating a time derivative.
Definition Prefixes.hpp:29

Member Function Documentation

◆ get_clone()

template<typename SolutionType>
auto Ccz4::Solutions::Ccz4WrappedGr< SolutionType >::get_clone ( ) const -> std::unique_ptr< evolution::initial_data::InitialData >
overridevirtual

The documentation for this class was generated from the following file:
  • src/Evolution/Systems/Ccz4/Ccz4WrappedGr.hpp