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

Compute item for spatial metric \(\gamma_{ij}\) from the spacetime metric \(g_{ab}\). More...

#include <SpatialMetric.hpp>

Public Types

using argument_tags
using return_type = tnsr::ii<DataType, SpatialDim, Frame>
using base = SpatialMetric<DataType, SpatialDim, Frame>
Public Types inherited from gr::Tags::SpatialMetric< DataType, SpatialDim, Frame >
using type

Static Public Attributes

static constexpr auto function

Detailed Description

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

Compute item for spatial metric \(\gamma_{ij}\) from the spacetime metric \(g_{ab}\).

Details

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

Member Typedef Documentation

◆ argument_tags

template<typename DataType, size_t SpatialDim, typename Frame>
using gr::Tags::SpatialMetricCompute< DataType, SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<SpacetimeMetric<DataType, SpatialDim, Frame>>

Member Data Documentation

◆ function

template<typename DataType, size_t SpatialDim, typename Frame>
auto gr::Tags::SpatialMetricCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const tnsr::aa<DataType, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
tnsr::ii< DataType, SpatialDim, Frame > spatial_metric(const tnsr::aa< DataType, SpatialDim, Frame > &spacetime_metric)
Compute spatial metric from spacetime metric.

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