diff options
author | rhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45> | 2012-08-04 07:18:49 +0000 |
---|---|---|
committer | rhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45> | 2012-08-04 07:18:49 +0000 |
commit | f4441c4bf0bd068b8fa677ff1afcb3bbe2845232 (patch) | |
tree | 82d578817910ac29d18d63a897baadae2e58b81a /param.ccl | |
parent | bf89395903d088e0a2bb625768181cf29caf75b3 (diff) |
GRHydro: Option to use the slow sector of multirate RK methods.
NOTE: This patch requires support from MoL.
Patch by Christian Reisswig.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@405 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'param.ccl')
-rw-r--r-- | param.ccl | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -50,6 +50,7 @@ EXTENDS KEYWORD temperature_evolution_method "" shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars +USES CCTK_INT MoL_Num_Evolved_Vars_Slow USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars USES CCTK_INT MoL_Max_Evolved_Array_Size @@ -76,9 +77,16 @@ CCTK_INT GRHydro_hydro_excision "Turns excision automatically on in HydroBase" A CCTK_INT GRHydro_MaxNumEvolvedVars "The maximum number of evolved variables used by GRHydro" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Evolved_Vars { + 0 :: "when using multirate" 5:10 :: "dens scon[3] tau Bvec[3] psidc ye" } 5 +CCTK_INT GRHydro_MaxNumEvolvedVarsSlow "The maximum number of evolved variables used by GRHydro" ACCUMULATOR-BASE=MethodofLines::MoL_Num_Evolved_Vars_Slow +{ + 0 :: "do not use multirate" + 5:10 :: "dens scon[3] tau Bvec[3] psidc ye" +} 0 + # 7 primitives (rho,press,eps,w_lorentz,vel) # 10 Tmunu # 3 Bvec @@ -640,6 +648,17 @@ BOOLEAN sync_conserved_only "Only sync evolved conserved quantities during evolu } no +restricted: +# This uses the slow sector of MoL multirate methods. +# Since the CFL requirements for hydro are less demanding, +# it is possible to get a significant speed up by +# using a lower order time integration such as RK2, while the spacetime +# is still integrated with an RK4 +BOOLEAN use_MoL_slow_multirate_sector "Whether to make use of MoL's slow multirate sector" +{ +} no +private: + BOOLEAN verbose "Some debug output" |