SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gh::Tags::ConstraintGamma2Compute< SpatialDim, Frame > Struct Template Reference

Computes the constraint damping parameter \(\gamma_2\) from the coordinates and a DampingFunction. More...

#include <ConstraintGammas.hpp>

Public Types

using argument_tags
using return_type = Scalar<DataVector>
using base = ConstraintGamma2
Public Types inherited from gh::Tags::ConstraintGamma2
using type = Scalar<DataVector>

Static Public Member Functions

static constexpr void function (const gsl::not_null< Scalar< DataVector > * > gamma, const ::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)

Detailed Description

template<size_t SpatialDim, typename Frame>
struct gh::Tags::ConstraintGamma2Compute< SpatialDim, Frame >

Computes the constraint damping parameter \(\gamma_2\) from the coordinates and a DampingFunction.

Details

Can be retrieved using gh::Tags::ConstraintGamma2.

Member Typedef Documentation

◆ argument_tags

template<size_t SpatialDim, typename Frame>
using gh::Tags::ConstraintGamma2Compute< SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<DampingFunctionGamma2<SpatialDim, Frame>,
Tag for the current time as a double.
Definition Time.hpp:19
The coordinates in a given frame.
Definition Tags.hpp:85
Tag to retrieve the FunctionsOfTime from the GlobalCache.
Definition Tags.hpp:20

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/ConstraintGammas.hpp