SpECTRE
v2025.03.17
|
A wrapper for general-relativity analytic solutions that loads the analytic solution and then adds a function that returns any combination of the generalized-harmonic evolution variables, specifically gr::Tags::SpacetimeMetric
, gh::Tags::Pi
, and gh::Tags::Phi
More...
#include <WrappedGr.hpp>
Public Types | |
using | options = typename SolutionType::options |
using | DerivLapse = ::Tags::deriv< gr::Tags::Lapse< DataVector >, tmpl::size_t< volume_dim >, Frame::Inertial > |
using | DerivShift = ::Tags::deriv< gr::Tags::Shift< DataVector, volume_dim >, tmpl::size_t< volume_dim >, Frame::Inertial > |
using | DerivSpatialMetric = ::Tags::deriv< gr::Tags::SpatialMetric< DataVector, volume_dim >, tmpl::size_t< volume_dim >, Frame::Inertial > |
using | TimeDerivLapse = ::Tags::dt< gr::Tags::Lapse< DataVector > > |
using | TimeDerivShift = ::Tags::dt< gr::Tags::Shift< DataVector, volume_dim > > |
using | TimeDerivSpatialMetric = ::Tags::dt< gr::Tags::SpatialMetric< DataVector, volume_dim > > |
using | IntermediateVars = tuples::tagged_tuple_from_typelist< typename SolutionType::template tags< DataVector > > |
template<typename DataType > | |
using | tags = implementation defined |
Public Member Functions | |
WrappedGr (const WrappedGr &)=default | |
WrappedGr & | operator= (const WrappedGr &)=default |
WrappedGr (WrappedGr &&)=default | |
WrappedGr & | operator= (WrappedGr &&)=default |
WrappedGr (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, double t, tmpl::list< Tags... >) const |
template<typename Tag > | |
tuples::TaggedTuple< Tag > | variables (const tnsr::I< DataVector, volume_dim > &x, 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 |
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
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 |
A wrapper for general-relativity analytic solutions that loads the analytic solution and then adds a function that returns any combination of the generalized-harmonic evolution variables, specifically gr::Tags::SpacetimeMetric
, gh::Tags::Pi
, and gh::Tags::Phi
|
overridevirtual |
Implements evolution::initial_data::InitialData.