diff options
author | rhaas <rhaas@ac85fae7-cede-4708-beff-ae01c7fa1c26> | 2013-03-28 01:48:56 +0000 |
---|---|---|
committer | rhaas <rhaas@ac85fae7-cede-4708-beff-ae01c7fa1c26> | 2013-03-28 01:48:56 +0000 |
commit | 6638461dfcea5c3d0d66d10cca26cfc83d7cd100 (patch) | |
tree | 00fe026bc21002c7c24e4d3133024f230b755aa4 | |
parent | 46b6cf89b9974add11918f768b7a4e8d747d42d1 (diff) |
GRHydro_InitDat: clear psidc and c2p_failed in ID routine
this is mostly important when we freeze the evolution afterwards
From: Roland Haas <rhaas@tapir.caltech.edu>
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/GRHydro_InitData/trunk@199 ac85fae7-cede-4708-beff-ae01c7fa1c26
-rw-r--r-- | src/GRHydro_BondiM.c | 4 |
1 files changed, 4 insertions, 0 deletions
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.; } |