diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl index 2cba4d8..62c2cff 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -227,7 +227,21 @@ schedule Einstein_InitSymBound at CCTK_WRAGH OPTIONS: global } "Set up GF symmetries" - +# For Mesh Refinement it is possible (eg Cowling approximation) that ADMBase variables will need synchronization even when not evolved (eg when a new refined grid appears) +if (CCTK_Equals(evolution_method, "static") || CCTK_Equals(evolution_method, "none") || CCTK_Equals(lapse_evolution_method, "static") || CCTK_Equals(shift_evolution_method, "static") || CCTK_Equals(dtlapse_evolution_method, "static") || CCTK_Equals(dtshift_evolution_method, "static") ) +{ + SCHEDULE ADMBase_Boundaries IN MoL_PostStep BEFORE ADMBase_SetADMVars + { + LANG: C + OPTIONS: LEVEL + SYNC: lapse + SYNC: dtlapse + SYNC: shift + SYNC: dtshift + SYNC: metric + SYNC: curv + } "Select ADMBase boundary conditions - may be required for mesh refinement" +} # TODO: Rename this group to "ADMBase_HaveBeenSet"? SCHEDULE GROUP ADMBase_SetADMVars IN MoL_PostStep |