From 593947fcf1e292af6d126c7db3cae89b278388b7 Mon Sep 17 00:00:00 2001 From: rhaas Date: Tue, 5 Jun 2012 20:25:44 +0000 Subject: GRHydro: Added parameter to perform sync on conserved quantities only. Primitives are only sync'ed after regridding to get initial guesses. Schedule Primitive boundary call in PostRegridInitial if sync_only_coserved == yes. Fixed issue with the sync call in CCTK_EVOL after MoL_Evolution when sync_conserved_only==yes: Conserved vars must be synced here as well, otherwise conserved vars are reset to atmospshere whereas primitives are not! This is wrong. Patches by Christian Reisswig. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@340 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45 --- param.ccl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index c22b6c1..51ee2c3 100644 --- a/param.ccl +++ b/param.ccl @@ -598,3 +598,12 @@ int GRHydro_c2p_warn_from_reflevel "Start warning on given refinement level and boolean disable_sync_and_tmunu_after_MoL "Do not sync/prolongate and reset Tmunu after MoL integration is done" STEERABLE=ALWAYS { } "no" + + +# This can improve the performance on many cores, but may be dangerous +# (it seems to work in simple testcases, but morde complicated settings may fail) +# If you encounter strange behavior, switch this OFF +BOOLEAN sync_conserved_only "Only sync evolved conserved quantities during evolution." +{ +} no + -- cgit v1.2.3