SpECTRE  v2024.04.12
gr::Tags::InverseSpacetimeMetricCompute< DataType, SpatialDim, Frame > Struct Template Reference

Compute item for inverse spacetime metric \(g^{ab}\) in terms of the lapse \(\alpha\), shift \(\beta^i\), and inverse spatial metric \(\gamma^{ij}\). More...

#include <InverseSpacetimeMetric.hpp>

Public Types

using argument_tags = tmpl::list< Lapse< DataType >, Shift< DataType, SpatialDim, Frame >, InverseSpatialMetric< DataType, SpatialDim, Frame > >
 
using return_type = tnsr::AA< DataType, SpatialDim, Frame >
 
using base = InverseSpacetimeMetric< DataType, SpatialDim, Frame >
 
- Public Types inherited from gr::Tags::InverseSpacetimeMetric< DataType, SpatialDim, Frame >
using type = tnsr::AA< DataType, Dim, Frame >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

template<typename DataType, size_t SpatialDim, typename Frame>
struct gr::Tags::InverseSpacetimeMetricCompute< DataType, SpatialDim, Frame >

Compute item for inverse spacetime metric \(g^{ab}\) in terms of the lapse \(\alpha\), shift \(\beta^i\), and inverse spatial metric \(\gamma^{ij}\).

Details

Can be retrieved using gr::Tags::InverseSpacetimeMetric.

Member Data Documentation

◆ function

template<typename DataType , size_t SpatialDim, typename Frame >
constexpr auto gr::Tags::InverseSpacetimeMetricCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
&inverse_spacetime_metric<DataType, 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: