SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
gr::Tags::LapseCompute< DataType, SpatialDim, Frame > Struct Template Reference

Compute item for lapse α from the spacetime metric gab and the shift βi. More...

#include <Lapse.hpp>

Public Types

using argument_tags = implementation defined
 
using return_type = Scalar< DataType >
 
using base = Lapse< DataType >
 
- Public Types inherited from gr::Tags::Lapse< 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::LapseCompute< DataType, SpatialDim, Frame >

Compute item for lapse α from the spacetime metric gab and the shift βi.

Details

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

Member Data Documentation

◆ function

template<typename DataType , size_t SpatialDim, typename Frame >
constexpr auto gr::Tags::LapseCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*> lapse,
&lapse<DataType, SpatialDim, Frame>)
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:198
Scalar< DataType > lapse(const tnsr::I< DataType, SpatialDim, Frame > &shift, const tnsr::aa< DataType, SpatialDim, Frame > &spacetime_metric)
Compute lapse from shift and spacetime metric.

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