From 6638461dfcea5c3d0d66d10cca26cfc83d7cd100 Mon Sep 17 00:00:00 2001 From: rhaas Date: Thu, 28 Mar 2013 01:48:56 +0000 Subject: GRHydro_InitDat: clear psidc and c2p_failed in ID routine this is mostly important when we freeze the evolution afterwards From: Roland Haas git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/GRHydro_InitData/trunk@199 ac85fae7-cede-4708-beff-ae01c7fa1c26 --- src/GRHydro_BondiM.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GRHydro_BondiM.c b/src/GRHydro_BondiM.c index c40c507..9dc4224 100644 --- a/src/GRHydro_BondiM.c +++ b/src/GRHydro_BondiM.c @@ -1267,6 +1267,10 @@ static void GRHydro_BondiM_Internal(CCTK_ARGUMENTS, CCTK_REAL range_min, CCTK_RE eps[i],&press[i], Bvecx(i),Bvecy(i),Bvecz(i), &w_lorentz[i]); + + GRHydro_C2P_failed[i] = 0.; + if(psidc) + psidc[i] = 0.; } -- cgit v1.2.3