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

Computes the spatial Ricci scalar using the spatial Ricci tensor and the inverse spatial metric. More...

#include <Ricci.hpp>

Public Types

using argument_tags = tmpl::list< gr::Tags::SpatialRicci< DataType, SpatialDim, Frame >, gr::Tags::InverseSpatialMetric< DataType, SpatialDim, Frame > >
 
using return_type = Scalar< DataType >
 
using base = SpatialRicciScalar< DataType >
 
- Public Types inherited from gr::Tags::SpatialRicciScalar< DataType >
using type = Scalar< DataType >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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

Computes the spatial Ricci scalar using the spatial Ricci tensor and the inverse spatial metric.

Can be retrieved using gr::Tags::SpatialRicciScalar

Member Data Documentation

◆ function

template<typename DataType , size_t SpatialDim, typename Frame >
constexpr auto gr::Tags::SpatialRicciScalarCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(gsl::not_null<Scalar<DataType>*>,
&ricci_scalar<SpatialDim, Frame, IndexType::Spatial, DataType>)
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: