76 chi_context, gamma_tilde_inv, tilde_Gamma, christoffel_tilde, gamma_tilde);
79 chi_context, gamma_tilde, gamma_tilde_inv, christoffel_tilde);
82 for (
int i = 0; i < 3; ++i)
83 for (
int j = 0;
j < 3; ++
j)
87 for (
int i = 0; i < 3; ++i)
88 for (
int j = 0;
j < 3; ++
j)
92 std::cout <<
"||R_phys||_F = " <<
norm << std::endl;
Computes the conformal part of the Ricci tensor in the BSSN formalism.
Multi-dimensional tensor class with fixed rank and SIMD support.
Definition Tensor.hpp:25
Computes the physical 3-Ricci tensor as the sum of conformal and conformal-factor contributions.
Definition BSSNRicciComplete.hpp:46
static tensorium::Tensor< T, 2 > compute_Ricci_total(const ChiContext< T > &chi_context, const tensorium::Tensor< T, 2 > &gamma_tilde, const tensorium::Tensor< T, 2 > &gamma_tilde_inv, const tensorium::Vector< T > &tilde_Gamma, const tensorium::Tensor< T, 3 > &christoffel_tilde)
Compute the full Ricci tensor as the sum of and .
Definition BSSNRicciComplete.hpp:69
static tensorium::Tensor< T, 2 > compute_Ricci_Tilde_tensor(const ChiContext< T > &chi_context, const tensorium::Tensor< T, 2 > &gamma_tilde_inv, const tensorium::Vector< T > &tilde_Gamma, const tensorium::Tensor< T, 3 > &christoffel_tilde, const tensorium::Tensor< T, 2 > &gamma_tilde)
Combine all four contributions to compute the conformal Ricci tensor:
Definition BSSNRicciTildeTensor.hpp:222
Definition BSSNAtildeTensor.hpp:10
Definition Derivate.hpp:24
Definition BSSNChiContext.hpp:10