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

Compute item to get spatial derivatives of the spatial metric from the generalized harmonic spatial derivative variable. More...

#include <DerivSpatialMetric.hpp>

Public Types

using argument_tags = tmpl::list<Phi<DataVector, SpatialDim, Frame>>
using return_type = tnsr::ijj<DataVector, SpatialDim, Frame>
using base

Static Public Attributes

static constexpr auto function

Detailed Description

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

Compute item to get spatial derivatives of the spatial metric from the generalized harmonic spatial derivative variable.

Details

See deriv_spatial_metric(). Can be retrieved using gr::Tags::SpatialMetric wrapped in Tags::deriv.

Member Typedef Documentation

◆ base

template<size_t SpatialDim, typename Frame>
using gh::Tags::DerivSpatialMetricCompute< 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::DerivSpatialMetricCompute< SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const tnsr::iaa<DataVector, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void deriv_spatial_metric(gsl::not_null< tnsr::ijj< DataType, SpatialDim, Frame > * > d_spatial_metric, const tnsr::iaa< DataType, SpatialDim, Frame > &phi)
Computes spatial derivatives of the spatial metric from the generalized harmonic spatial derivative v...

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