[Commits] [svn:einsteintoolkit] GRHydro_InitData/trunk/src/ (Rev. 199)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Wed Mar 27 20:48:56 CDT 2013


User: rhaas
Date: 2013/03/27 08:48 PM

Modified:
 /trunk/src/
  GRHydro_BondiM.c

Log:
 GRHydro_InitDat: clear psidc and c2p_failed in ID routine
 
 this is mostly important when we freeze the evolution afterwards
 
 From: Roland Haas <rhaas at tapir.caltech.edu>

File Changes:

Directory: /trunk/src/
======================

File [modified]: GRHydro_BondiM.c
Delta lines: +4 -0
===================================================================
--- trunk/src/GRHydro_BondiM.c	2013-03-28 01:48:55 UTC (rev 198)
+++ trunk/src/GRHydro_BondiM.c	2013-03-28 01:48:56 UTC (rev 199)
@@ -1267,6 +1267,10 @@
                  eps[i],&press[i],
                  Bvecx(i),Bvecy(i),Bvecz(i),
                  &w_lorentz[i]);
+
+    GRHydro_C2P_failed[i] = 0.;
+    if(psidc)
+      psidc[i] = 0.;
                  
   }
 



More information about the Commits mailing list