[Commits] [svn:einsteintoolkit] GRHydro/trunk/ (Rev. 362)
rhaas at tapir.caltech.edu
rhaas at tapir.caltech.edu
Wed Jun 20 22:51:17 CDT 2012
User: rhaas
Date: 2012/06/20 10:51 PM
Modified:
/trunk/
schedule.ccl
Log:
GRHydro: Fix a scheduling issue related to previous atmosphere patch.
File Changes:
Directory: /trunk/
==================
File [modified]: schedule.ccl
Delta lines: +5 -4
===================================================================
--- trunk/schedule.ccl 2012-06-20 16:27:09 UTC (rev 361)
+++ trunk/schedule.ccl 2012-06-21 03:51:16 UTC (rev 362)
@@ -1158,20 +1158,21 @@
### This is executed in the last MoL_PosStep ###
################################################################
-# First we need to convert real (and synchronized mask) to an integer mask!
-schedule GRHydroPostSyncAtmosphereMask IN HydroBase_PostStep AFTER HydroBase_Boundaries
+# First (right after sync) we need to convert real (and synchronized mask) to an integer mask!
+schedule GRHydroPostSyncAtmosphereMask IN HydroBase_PostStep AFTER HydroBase_Boundaries BEFORE HydroBase_Con2Prim
{
LANG: Fortran
} "Set integer atmosphere mask from synchronized real atmosphere mask"
+# Afterwards, reset mask!
if (CCTK_Equals(Bvec_evolution_method,"GRHydro"))
{
- schedule GRHydro_AtmosphereResetM IN HydroBase_PostStep BEFORE HydroBase_Con2Prim IF GRHydro::InLastMoLPostStep
+ schedule GRHydro_AtmosphereResetM IN HydroBase_PostStep AFTER GRHydroPostSyncAtmosphereMask BEFORE HydroBase_Con2Prim IF GRHydro::InLastMoLPostStep
{
LANG: Fortran
} "Reset the atmosphere - MHD version"
} else {
- schedule GRHydro_AtmosphereReset IN HydroBase_PostStep BEFORE HydroBase_Con2Prim IF GRHydro::InLastMoLPostStep
+ schedule GRHydro_AtmosphereReset IN HydroBase_PostStep AFTER GRHydroPostSyncAtmosphereMask BEFORE HydroBase_Con2Prim IF GRHydro::InLastMoLPostStep
{
LANG: Fortran
} "Reset the atmosphere"
More information about the Commits
mailing list