SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
sgb::Tags::PiCompute< ShiftTag, OutputTag > Struct Template Reference

Re-compute the momentum Pi, assuming quasi-stationarity. More...

#include <ScalarMomentum.hpp>

Public Types

using base = OutputTag
using return_type = typename base::type
using argument_tags

Static Public Attributes

static constexpr auto function

Detailed Description

template<typename ShiftTag, typename OutputTag>
struct sgb::Tags::PiCompute< ShiftTag, OutputTag >

Re-compute the momentum Pi, assuming quasi-stationarity.

Member Typedef Documentation

◆ argument_tags

template<typename ShiftTag, typename OutputTag>
using sgb::Tags::PiCompute< ShiftTag, OutputTag >::argument_tags
Initial value:
tmpl::list<::Tags::deriv<Psi, tmpl::size_t<3>, Frame::Inertial>, ShiftTag,
Definition IndexType.hpp:46
Definition Tags.hpp:65

Member Data Documentation

◆ function

template<typename ShiftTag, typename OutputTag>
auto sgb::Tags::PiCompute< ShiftTag, OutputTag >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(gsl::not_null<return_type*>,
const tnsr::i<DataVector, 3, Frame::Inertial>&,
const tnsr::I<DataVector, 3>&,
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21
void scalar_momentum(gsl::not_null< Scalar< DataVector > * > result, const tnsr::i< DataVector, 3, Frame::Inertial > &deriv, const tnsr::I< DataVector, 3 > &shift, const Scalar< DataVector > &lapse)
Compute the momentum assuming quasi-stationarity in sGB gravity.

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/ScalarTensor/Xcts/ScalarMomentum.hpp