SpECTRE
v2024.12.16
|
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 (gsl::not_null< std::mt19937 * > generator, const DataType &used_for_size) |
template<size_t Dim, typename DataType > | |
tnsr::I< DataType, Dim > | random_shift (gsl::not_null< std::mt19937 * > generator, const DataType &used_for_size) |
template<size_t Dim, typename DataType , typename Fr = Frame::Inertial> | |
tnsr::ii< DataType, Dim, Fr > | random_spatial_metric (gsl::not_null< std::mt19937 * > generator, const DataType &used_for_size) |
Make random GR variables which correct physical behavior, e.g. spatial metric will be positive definite.