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

Compute item for shift βi from the spacetime metric gab and the inverse spatial metric γij. More...

#include <Shift.hpp>

Public Types

using argument_tags = implementation defined
 
using return_type = tnsr::I< DataType, SpatialDim, Frame >
 
using base = Shift< DataType, SpatialDim, Frame >
 
- Public Types inherited from gr::Tags::Shift< DataType, SpatialDim, Frame >
using type = tnsr::I< DataType, Dim, Frame >
 

Static Public Attributes

static constexpr auto function
 

Detailed Description

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

Compute item for shift βi from the spacetime metric gab and the inverse spatial metric γij.

Details

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

Member Data Documentation

◆ function

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

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