SpECTRE  v2024.04.12
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 = tmpl::list< SpacetimeChristoffelFirstKind< DataType, SpatialDim, Frame >, InverseSpacetimeMetric< DataType, SpatialDim, Frame > >
 
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 = tnsr::a< DataType, Dim, Frame >
 

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 Data Documentation

◆ function

template<typename DataType , size_t SpatialDim, typename Frame >
constexpr auto gr::Tags::TraceSpacetimeChristoffelFirstKindCompute< DataType, SpatialDim, Frame >::function
staticconstexpr
Initial value:
= static_cast<void (*)(
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:183
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:220

The documentation for this struct was generated from the following file: