SpECTRE
v2024.05.11
|
Computes the constraint damping parameter \(\gamma_2\) from the coordinates and a DampingFunction. More...
#include <ConstraintGammas.hpp>
Public Types | |
using | argument_tags = tmpl::list< DampingFunctionGamma2< SpatialDim, Frame >, domain::Tags::Coordinates< SpatialDim, Frame >, ::Tags::Time, ::domain::Tags::FunctionsOfTime > |
using | return_type = Scalar< DataVector > |
using | base = ConstraintGamma2 |
Public Types inherited from gh::ConstraintDamping::Tags::ConstraintGamma2 | |
using | type = Scalar< DataVector > |
Static Public Member Functions | |
static constexpr void | function (const gsl::not_null< Scalar< DataVector > * > gamma, const ::gh::ConstraintDamping::DampingFunction< SpatialDim, Frame > &damping_function, const tnsr::I< DataVector, SpatialDim, Frame > &coords, const double time, const std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > &functions_of_time) |
Computes the constraint damping parameter \(\gamma_2\) from the coordinates and a DampingFunction.
Can be retrieved using gh::ConstraintDamping::Tags::ConstraintGamma2
.