SpECTRE  v2024.04.12
gh::Tags::PiCompute< SpatialDim, Frame > Struct Template Reference

Compute item the conjugate momentum \(\Pi_{ab}\) of the spacetime metric \( g_{ab} \). More...

#include <Pi.hpp>

Public Types

using argument_tags = tmpl::list< gr::Tags::Lapse< DataVector >, ::Tags::dt< gr::Tags::Lapse< DataVector > >, gr::Tags::Shift< DataVector, SpatialDim, Frame >, ::Tags::dt< gr::Tags::Shift< DataVector, SpatialDim, Frame > >, gr::Tags::SpatialMetric< DataVector, SpatialDim, Frame >, ::Tags::dt< gr::Tags::SpatialMetric< DataVector, SpatialDim, Frame > >, Phi< DataVector, SpatialDim, Frame > >
 
using return_type = tnsr::aa< DataVector, SpatialDim, Frame >
 
using base = Pi< DataVector, SpatialDim, Frame >
 
- Public Types inherited from gh::Tags::Pi< DataVector, SpatialDim, Frame >
using type = tnsr::aa< DataVector, Dim, Frame >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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

Compute item the conjugate momentum \(\Pi_{ab}\) of the spacetime metric \( g_{ab} \).

Details

See pi(). Can be retrieved using gh::Tags::Pi.

Member Data Documentation

◆ function

template<size_t SpatialDim, typename Frame >
constexpr auto gh::Tags::PiCompute< SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
&pi<DataVector, SpatialDim, Frame>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183

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