SpECTRE  v2026.09.05
Loading...
Searching...
No Matches
CurvedScalarWave::AnalyticData::ZerothOrderPuncture Class Reference

Analytic initial data for a scalar point charge in Kerr-Schild coordinates. This assumes the charge is initially on a geodesic orbit. More...

#include <ZerothOrderPuncture.hpp>

Classes

struct  ParticleCharge
struct  ParticlePosition
struct  ParticleVelocity

Public Types

using options
using tags

Public Member Functions

 ZerothOrderPuncture (std::array< double, 3 > particle_position, std::array< double, 3 > particle_velocity, double particle_charge, const Options::Context &context={})
 ZerothOrderPuncture (const ZerothOrderPuncture &)=default
ZerothOrderPuncture & operator= (const ZerothOrderPuncture &)=default
 ZerothOrderPuncture (ZerothOrderPuncture &&)=default
ZerothOrderPuncture & operator= (ZerothOrderPuncture &&)=default
auto get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override
tuples::TaggedTuple< CurvedScalarWave::Tags::Psi, CurvedScalarWave::Tags::Pi, CurvedScalarWave::Tags::Phi< 3 > > variables (const tnsr::I< DataVector, 3 > &x, tags) const
 Retrieve the evolution variables at spatial coordinates x
void pup (PUP::er &) 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 Attributes

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

Friends

bool operator== (const ZerothOrderPuncture &lhs, const ZerothOrderPuncture &rhs)
bool operator!= (const ZerothOrderPuncture &lhs, const ZerothOrderPuncture &rhs)

Detailed Description

Analytic initial data for a scalar point charge in Kerr-Schild coordinates. This assumes the charge is initially on a geodesic orbit.

Details

The initial data corresponds to the zeroth order puncture field which is effectively the Lorentz-boosted solution of a scalar charge in flat space.

Member Typedef Documentation

◆ options

using CurvedScalarWave::AnalyticData::ZerothOrderPuncture::options
Initial value:
tmpl::list<ParticlePosition, ParticleVelocity, ParticleCharge>

◆ tags

using CurvedScalarWave::AnalyticData::ZerothOrderPuncture::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

Member Function Documentation

◆ get_clone()

auto CurvedScalarWave::AnalyticData::ZerothOrderPuncture::get_clone ( ) const -> std::unique_ptr< evolution::initial_data::InitialData >
overridevirtual

Member Data Documentation

◆ help

Options::String CurvedScalarWave::AnalyticData::ZerothOrderPuncture::help
staticconstexpr
Initial value:
= {
"Initial data for a scalar charge in Kerr-Schild coordinates. It "
"corresponds to the zeroth order puncture field which is the "
"Lorentz-boosted solution of a scalar charge in flat space."}

The documentation for this class was generated from the following file:
  • src/Evolution/Systems/CurvedScalarWave/Worldtube/InitialData/ZerothOrderPuncture.hpp