SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
gh::Tags::TimeDerivShiftCompute< SpatialDim, Frame > Struct Template Reference

Compute item to get time derivative of the shift vector from the generalized harmonic and geometric variables. More...

#include <TimeDerivOfShift.hpp>

Public Types

using argument_tags
using return_type = tnsr::I<DataVector, SpatialDim, Frame>
using base = ::Tags::dt<gr::Tags::Shift<DataVector, SpatialDim, Frame>>
Public Types inherited from Tags::dt< gr::Tags::Shift< DataVector, SpatialDim, Frame > >
using type
using tag

Static Public Attributes

static constexpr auto function

Detailed Description

template<size_t SpatialDim, typename Frame>
struct gh::Tags::TimeDerivShiftCompute< SpatialDim, Frame >

Compute item to get time derivative of the shift vector from the generalized harmonic and geometric variables.

Details

See time_deriv_of_shift(). Can be retrieved using gr::Tags::Shift wrapped in Tags::dt.

Member Typedef Documentation

◆ argument_tags

template<size_t SpatialDim, typename Frame>
using gh::Tags::TimeDerivShiftCompute< SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<gr::Tags::Lapse<DataVector>,
Auxiliary variable which is analytically the spatial derivative of the spacetime metric.
Definition Tags.hpp:38
Conjugate momentum to the spacetime metric.
Definition Tags.hpp:27
Inverse of the spatial metric.
Definition Tags.hpp:32
Definition Tags.hpp:61
Definition Tags.hpp:100

Member Data Documentation

◆ function

template<size_t SpatialDim, typename Frame>
auto gh::Tags::TimeDerivShiftCompute< SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataVector>&, const tnsr::I<DataVector, SpatialDim, Frame>&,
const tnsr::II<DataVector, SpatialDim, Frame>&,
const tnsr::A<DataVector, SpatialDim, Frame>&,
const tnsr::iaa<DataVector, SpatialDim, Frame>&,
const tnsr::aa<DataVector, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void time_deriv_of_shift(gsl::not_null< tnsr::I< DataType, SpatialDim, Frame > * > dt_shift, const Scalar< DataType > &lapse, const tnsr::I< DataType, SpatialDim, Frame > &shift, const tnsr::II< DataType, SpatialDim, Frame > &inverse_spatial_metric, const tnsr::A< DataType, SpatialDim, Frame > &spacetime_unit_normal, const tnsr::iaa< DataType, SpatialDim, Frame > &phi, const tnsr::aa< DataType, SpatialDim, Frame > &pi)
Computes time derivative of the shift vector from the generalized harmonic and geometric variables.
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition TypeAliases.hpp:21

The documentation for this struct was generated from the following file:
  • src/PointwiseFunctions/GeneralRelativity/GeneralizedHarmonic/TimeDerivOfShift.hpp