From 0ac05b9766c6c2843787acfe76f56721513b161a Mon Sep 17 00:00:00 2001 From: knarf Date: Tue, 8 May 2012 17:30:37 +0000 Subject: initialize w_lorentz as well as the other declared quantities - especially as the velocities git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/HydroBase/trunk@50 57fe0bb3-ccba-405f-9b23-de0201f165b7 --- src/Initialisation.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/Initialisation.c b/src/Initialisation.c index 1149897..4ed861f 100644 --- a/src/Initialisation.c +++ b/src/Initialisation.c @@ -13,11 +13,12 @@ void HydroBase_Zero (CCTK_ARGUMENTS) #pragma omp parallel for for (int i=0; i= 1) { @@ -45,11 +46,12 @@ void HydroBase_Zero (CCTK_ARGUMENTS) if (CCTK_ActiveTimeLevels(cctkGH, "HydroBase::rho") >= 2) { #pragma omp parallel for for (int i=0; i= 3) { #pragma omp parallel for for (int i=0; i