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

Compute item for the trace of the spacetime Christoffel symbols of the first kind \(\Gamma_{a} = \Gamma_{abc}g^{bc}\) computed from the Christoffel symbols of the first kind and the inverse spacetime metric. More...

#include <Christoffel.hpp>

Public Types

using argument_tags
using return_type = tnsr::a<DataType, SpatialDim, Frame>
using base = TraceSpacetimeChristoffelFirstKind<DataType, SpatialDim, Frame>
Public Types inherited from gr::Tags::TraceSpacetimeChristoffelFirstKind< 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::TraceSpacetimeChristoffelFirstKindCompute< DataType, SpatialDim, Frame >

Compute item for the trace of the spacetime Christoffel symbols of the first kind \(\Gamma_{a} = \Gamma_{abc}g^{bc}\) computed from the Christoffel symbols of the first kind and the inverse spacetime metric.

Can be retrieved using gr::Tags::TraceSpacetimeChristoffelFirstKind

Member Typedef Documentation

◆ argument_tags

template<typename DataType, size_t SpatialDim, typename Frame>
using gr::Tags::TraceSpacetimeChristoffelFirstKindCompute< DataType, SpatialDim, Frame >::argument_tags
Initial value:
tmpl::list<SpacetimeChristoffelFirstKind<DataType, SpatialDim, Frame>,
Definition Tags.hpp:20

Member Data Documentation

◆ function

template<typename DataType, size_t SpatialDim, typename Frame>
auto gr::Tags::TraceSpacetimeChristoffelFirstKindCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
const tnsr::abb<DataType, SpatialDim, Frame>&,
const tnsr::AA<DataType, SpatialDim, Frame>&)>(
Require a pointer to not be a nullptr
Definition Gsl.hpp:197
void trace_last_indices(gsl::not_null< Tensor< DataType, Symmetry< 1 >, index_list< Index0 > > * > trace_of_tensor, const Tensor< DataType, Symmetry< 2, 1, 1 >, index_list< Index0, Index1, Index1 > > &tensor, const Tensor< DataType, Symmetry< 1, 1 >, index_list< change_index_up_lo< Index1 >, change_index_up_lo< Index1 > > > &metric)
Computes trace of a rank 3 tensor, which is symmetric in its last two indices, tracing the symmetric ...
Tensor_detail::TensorIndexType< SpatialDim, Ul, Fr, IndexType::Spacetime > SpacetimeIndex
A SpacetimeIndex holds information about the number of spatial dimensions, whether the index is covar...
Definition IndexType.hpp:219

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