SpECTRE
v2024.05.11
|
Computes the constraint damping parameter \(\gamma_1\) from the coordinates and a DampingFunction. More...
#include <ConstraintGammas.hpp>
Public Types | |
using | argument_tags = tmpl::list< DampingFunctionGamma1< SpatialDim, Frame >, domain::Tags::Coordinates< SpatialDim, Frame >, ::Tags::Time, ::domain::Tags::FunctionsOfTime > |
using | return_type = Scalar< DataVector > |
using | base = ConstraintGamma1 |
Public Types inherited from gh::ConstraintDamping::Tags::ConstraintGamma1 | |
using | type = Scalar< DataVector > |
Static Public Member Functions | |
static constexpr void | function (const gsl::not_null< Scalar< DataVector > * > gamma1, 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_1\) from the coordinates and a DampingFunction.
Can be retrieved using gh::ConstraintDamping::Tags::ConstraintGamma1
.