Functions
TestHelpers::gr Namespace Reference

Make random GR variables which correct physical behavior, e.g. spatial metric will be positive definite. More...

Functions

template<typename DataType >
Scalar< DataType > random_lapse (const gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 
template<size_t Dim, typename DataType >
tnsr::I< DataType, Dim > random_shift (const gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 
template<size_t Dim, typename DataType >
tnsr::ii< DataType, Dim > random_spatial_metric (const gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 
template<typename DataType >
Scalar< DataType > random_lapse (gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 
template<size_t Dim, typename DataType >
tnsr::I< DataType, Dim > random_shift (gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 
template<size_t Dim, typename DataType >
tnsr::ii< DataType, Dim > random_spatial_metric (gsl::not_null< std::mt19937 *> generator, const DataType &used_for_size) noexcept
 

Detailed Description

Make random GR variables which correct physical behavior, e.g. spatial metric will be positive definite.