SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gr::Tags::LapseCompute< DataType, SpatialDim, Frame > Struct Template Reference

Compute item for lapse \(\alpha\) from the spacetime metric \(g_{ab}\) and the shift \(\beta^i\). More...

#include <Lapse.hpp>

Public Types

using argument_tags
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 \(\alpha\) from the spacetime metric \(g_{ab}\) and the shift \(\beta^i\).

Details

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

Member Typedef Documentation

◆ argument_tags

template<typename DataType, size_t SpatialDim, typename Frame>
using gr::Tags::LapseCompute< DataType, SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<Shift<DataType, SpatialDim, Frame>,
Definition Tags.hpp:16

Member Data Documentation

◆ function

template<typename DataType, size_t SpatialDim, typename Frame>
auto gr::Tags::LapseCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
=
static_cast<void (*)(const gsl::not_null<Scalar<DataType>*> lapse,
const tnsr::I<DataType, SpatialDim, Frame>&,
const tnsr::aa<DataType, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
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:
  • src/PointwiseFunctions/GeneralRelativity/Lapse.hpp