Compute item for spatial metric determinant and inverse in terms of the spatial metric .
More...
#include <DetAndInverseSpatialMetric.hpp>
|
using | argument_tags = implementation defined |
|
using | base = ::Tags::Variables< tmpl::list< DetSpatialMetric< DataType >, InverseSpatialMetric< DataType, SpatialDim, Frame > > > |
|
using | return_type = typename base::type |
|
using | tags_list = implementation defined |
|
using | type = ::Variables< tmpl::list< DetSpatialMetric< DataType >, InverseSpatialMetric< DataType, SpatialDim, Frame > > > |
|
template<typename DataType, size_t SpatialDim, typename Frame>
struct gr::Tags::DetAndInverseSpatialMetricCompute< DataType, SpatialDim, Frame >
Compute item for spatial metric determinant and inverse in terms of the spatial metric .
Details
Can be retrieved using gr::Tags::DetSpatialMetric
and gr::Tags::InverseSpatialMetric
.
◆ function
template<typename DataType , size_t SpatialDim, typename Frame >
Initial value:= static_cast<void (*)(
tmpl::list<SpatialIndex<SpatialDim, UpLo::Lo, Frame>,
Definition: ContractFirstNIndices.hpp:16
Require a pointer to not be a nullptr
Definition: Gsl.hpp:198
Tensor_detail::TensorIndexType< SpatialDim, Ul, Fr, IndexType::Spatial > SpatialIndex
A SpatialIndex holds information about the number of spatial dimensions, whether the index is covaria...
Definition: IndexType.hpp:206
void determinant_and_inverse(const gsl::not_null< Scalar< T > * > det, const gsl::not_null< Tensor< T, Symm, tmpl::list< change_index_up_lo< Index1 >, change_index_up_lo< Index0 > > > * > inv, const Tensor< T, Symm, tmpl::list< Index0, Index1 > > &tensor)
Computes the determinant and inverse of a rank-2 Tensor.
Definition: DeterminantAndInverse.hpp:365
The documentation for this struct was generated from the following file:
- src/PointwiseFunctions/GeneralRelativity/DetAndInverseSpatialMetric.hpp