SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ScalarTensor::Tags::CswTwoIndexConstraintCompute< Dim > Struct Template Reference

Computes the scalar-wave two-index constraint. More...

#include <Tags.hpp>

Public Types

using argument_tags
using return_type = tnsr::ij<DataVector, Dim>
using base = Csw<CurvedScalarWave::Tags::TwoIndexConstraint<Dim>>
Public Types inherited from ScalarTensor::Tags::Csw< CurvedScalarWave::Tags::TwoIndexConstraint< Dim > >
using type
using tag

Static Public Attributes

static constexpr void(* function )(const gsl::not_null< return_type * > result, const tnsr::ij< DataVector, Dim > &)

Detailed Description

template<size_t Dim>
struct ScalarTensor::Tags::CswTwoIndexConstraintCompute< Dim >

Computes the scalar-wave two-index constraint.

Details

The two-index constraint is assigned to a wrapped tag to avoid clashes with the gh constraints during observation.

Note
We do not use ScalarTensor::Tags::CswCompute to retrieve the CurvedScalarWave constraints since we do not want to add the bare compute tags (CurvedScalarWave::Tags::OneIndexConstraintCompute and CurvedScalarWave::Tags::TwoIndexConstraintCompute) directly in the ObservationBox, since that will make them observable and would lead to a clash with the gh constraint tags.

Member Typedef Documentation

◆ argument_tags

template<size_t Dim>
using ScalarTensor::Tags::CswTwoIndexConstraintCompute< Dim >::argument_tags
Initial value:
tmpl::list<::Tags::deriv<CurvedScalarWave::Tags::Phi<Dim>,
tmpl::size_t<Dim>, Frame::Inertial>>
Definition IndexType.hpp:46

Member Data Documentation

◆ function

template<size_t Dim>
void(* ScalarTensor::Tags::CswTwoIndexConstraintCompute< Dim >::function) (const gsl::not_null< return_type * > result, const tnsr::ij< DataVector, Dim > &)
staticconstexpr
Initial value:
=
tnsr::ij< DataVector, SpatialDim, Frame::Inertial > two_index_constraint(const tnsr::ij< DataVector, SpatialDim, Frame::Inertial > &d_phi)
Computes the scalar-wave 2-index constraint.

The documentation for this struct was generated from the following file:
  • src/Evolution/Systems/ScalarTensor/Tags.hpp