SpECTRE  v2025.08.19
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 = tmpl::list< ParticlePosition, ParticleVelocity, ParticleCharge >
 
using tags = tmpl::list< CurvedScalarWave::Tags::Psi, CurvedScalarWave::Tags::Pi, CurvedScalarWave::Tags::Phi< 3 > >
 

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
 
ZerothOrderPunctureoperator= (const ZerothOrderPuncture &)=default
 
 ZerothOrderPuncture (ZerothOrderPuncture &&)=default
 
ZerothOrderPunctureoperator= (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
 
virtual auto get_clone () const -> std::unique_ptr< InitialData >=0
 

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 Function Documentation

◆ get_clone()

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

Member Data Documentation

◆ help

constexpr 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: