SpECTRE  v2024.05.11
ScalarTensor::Tags::CswOneIndexConstraintCompute< Dim > Struct Template Reference

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

#include <Tags.hpp>

Public Types

using argument_tags = tmpl::list<::Tags::deriv< CurvedScalarWave::Tags::Psi, tmpl::size_t< Dim >, Frame::Inertial >, CurvedScalarWave::Tags::Phi< Dim > >
 
using return_type = tnsr::i< DataVector, Dim >
 
using base = Csw< CurvedScalarWave::Tags::OneIndexConstraint< Dim > >
 
- Public Types inherited from ScalarTensor::Tags::Csw< CurvedScalarWave::Tags::OneIndexConstraint< Dim > >
using type = typename Tag::type
 
using tag = CurvedScalarWave::Tags::OneIndexConstraint< Dim >
 

Static Public Attributes

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

Detailed Description

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

Computes the scalar-wave one-index constraint.

Details

The one-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 Data Documentation

◆ function

template<size_t Dim>
constexpr void(* ScalarTensor::Tags::CswOneIndexConstraintCompute< Dim >::function) (const gsl::not_null< return_type * > result, const tnsr::i< DataVector, Dim > &, const tnsr::i< DataVector, Dim > &)
staticconstexpr
Initial value:
=
&CurvedScalarWave::one_index_constraint<Dim>

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