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

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

#include <SpatialDerivOfShift.hpp>

Public Types

using argument_tags
using return_type = tnsr::iJ<DataVector, SpatialDim, Frame>
using base

Static Public Attributes

static constexpr auto function

Detailed Description

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

Compute item to get spatial derivatives of the shift vector from generalized harmonic and geometric variables.

Details

See spatial_deriv_of_shift(). Can be retrieved using gr::Tags::Shift wrapped in Tags::deriv.

Member Typedef Documentation

◆ argument_tags

template<size_t SpatialDim, typename Frame>
using gh::Tags::DerivShiftCompute< SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<
Auxiliary variable which is analytically the spatial derivative of the spacetime metric.
Definition Tags.hpp:38
Definition Tags.hpp:20
Definition Tags.hpp:65
Definition Tags.hpp:100

◆ base

template<size_t SpatialDim, typename Frame>
using gh::Tags::DerivShiftCompute< SpatialDim, Frame >::base
Initial value:
tmpl::size_t<SpatialDim>, Frame>
Indicates the Frame that a TensorIndexType is in.
Definition IndexType.hpp:36
Prefix indicating spatial derivatives.
Definition Prefixes.hpp:46

Member Data Documentation

◆ function

template<size_t SpatialDim, typename Frame>
auto gh::Tags::DerivShiftCompute< SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const Scalar<DataVector>&, const tnsr::AA<DataVector, SpatialDim, Frame>&,
const tnsr::A<DataVector, SpatialDim, Frame>&,
const tnsr::iaa<DataVector, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void spatial_deriv_of_shift(gsl::not_null< tnsr::iJ< DataType, SpatialDim, Frame > * > deriv_shift, const Scalar< DataType > &lapse, const tnsr::AA< DataType, SpatialDim, Frame > &inverse_spacetime_metric, const tnsr::A< DataType, SpatialDim, Frame > &spacetime_unit_normal, const tnsr::iaa< DataType, SpatialDim, Frame > &phi)
Computes spatial derivatives of the shift vector from the generalized harmonic and geometric variable...
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/SpatialDerivOfShift.hpp