SpECTRE  v2024.12.16
CurvedScalarWave::Worldtube::Tags::ConstraintGamma2Compute Struct Reference

Sets Gamma2 to a Gaussian that falls off to a constant value centered on the position of the particle. This was found to be necessary for a stable evolution. The equations are given in Initialization::InitializeConstraintDampingGammas. More...

#include <Tags.hpp>

Public Types

using base = CurvedScalarWave::Tags::ConstraintGamma2
 
using return_type = Scalar< DataVector >
 
using argument_tags = tmpl::list< domain::Tags::Coordinates< Dim, Frame::Inertial >, ParticlePositionVelocity< Dim > >
 
- Public Types inherited from CurvedScalarWave::Tags::ConstraintGamma2
using type = Scalar< DataVector >
 

Static Public Member Functions

static void function (gsl::not_null< Scalar< DataVector > * > gamma2, const tnsr::I< DataVector, Dim, Frame::Inertial > &coords, const std::array< tnsr::I< double, Dim, Frame::Inertial >, 2 > &pos_vel)
 

Static Public Attributes

static constexpr size_t Dim = 3
 

Detailed Description

Sets Gamma2 to a Gaussian that falls off to a constant value centered on the position of the particle. This was found to be necessary for a stable evolution. The equations are given in Initialization::InitializeConstraintDampingGammas.


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