[Commits] [svn:einsteintoolkit] GRHydro/trunk/ (Rev. 652)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Sat May 3 22:58:36 CDT 2014


User: rhaas
Date: 2014/05/03 10:58 PM

Modified:
 /trunk/
  schedule.ccl

Log:
 GRHydro: correct scheduling of Con2PrimM for slow evolution
 
 should not actually makea difference as far as the results of a run are
 concerned, but should reduce the number of times con2prim is called and avoid
 some instances of accessing uninitalized data

File Changes:

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

File [modified]: schedule.ccl
Delta lines: +3 -3
===================================================================
--- trunk/schedule.ccl	2014-05-01 03:28:01 UTC (rev 651)
+++ trunk/schedule.ccl	2014-05-04 03:58:35 UTC (rev 652)
@@ -1179,7 +1179,7 @@
   
   if(CCTK_Equals(Bvec_evolution_method,"GRHydro"))
   {
-    schedule Conservative2PrimitivePolytypeM IN HydroBase_Con2Prim AS Con2Prim
+    schedule Conservative2PrimitivePolytypeM IN HydroBase_Con2Prim AS Con2Prim IF GRHydro::execute_MoL_PostStep
     {
       LANG: Fortran
     } "Convert back to primitive variables (polytype) - MHD version"
@@ -1189,7 +1189,7 @@
       LANG: Fortran
     } "Convert initial data given in primive variables to conserved variables - MHD version"
   } else if(CCTK_Equals(Bvec_evolution_method,"GRHydro_Avec")) {
-    schedule Conservative2PrimitivePolytypeAM IN HydroBase_Con2Prim AS Con2Prim
+    schedule Conservative2PrimitivePolytypeAM IN HydroBase_Con2Prim AS Con2Prim IF GRHydro::execute_MoL_PostStep
     {
       LANG: Fortran
     } "Convert back to primitive variables (polytype) - MHD with Avec version"
@@ -1199,7 +1199,7 @@
       LANG: Fortran
     } "Convert initial data given in primive variables to conserved variables - MHD with Avec version"
   } else {
-    schedule Conservative2PrimitivePolytype IN HydroBase_Con2Prim AS Con2Prim
+    schedule Conservative2PrimitivePolytype IN HydroBase_Con2Prim AS Con2Prim IF GRHydro::execute_MoL_PostStep
     {
       LANG: Fortran
     } "Convert back to primitive variables (polytype)"



More information about the Commits mailing list