summaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-09-25 10:02:18 +0200
committerAnton Khirnov <anton@khirnov.net>2018-09-25 10:03:50 +0200
commit8ee77841e5d32d3243213730e6d12a880200d840 (patch)
tree04a8df87aa488d97cf1ae039a35dfd6a2f4e1777 /schedule.ccl
parentecae7b1fa0058adcaa61b324b9d7248c7b5d3ef9 (diff)
Rewrite using a new method.
Based on 'Adaptive mesh refinement for coupled elliptic-hyperbolic problems' by Pretorius and Choptuik, 2006.
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl27
1 files changed, 25 insertions, 2 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 246aa63..0b992b9 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,10 +1,26 @@
# Schedule definitions for thorn MaximalSlicingAxiMG
#
if (CCTK_Equals(lapse_evolution_method, "maximal_axi_mg")) {
+ SCHEDULE msa_mg_inithist in CCTK_INITIAL {
+ LANG: C
+ } ""
- SCHEDULE maximal_slicing_axi_mg IN ML_BSSN_evolCalcGroup BEFORE ML_BSSN_RHS {
+ SCHEDULE msa_mg_init IN CCTK_BASEGRID {
LANG: C
- } "Maximal slicing in axisymmetry"
+ } ""
+
+ SCHEDULE msa_mg_eval IN MoL_CalcRHS BEFORE ML_BSSN_evolCalcGroup {
+ LANG: C
+ } ""
+
+ SCHEDULE msa_mg_sync IN CCTK_POSTSTEP BEFORE msa_mg_solve {
+ SYNC: lapse_mg
+ LANG: C
+ } ""
+
+ SCHEDULE msa_mg_solve IN CCTK_POSTSTEP {
+ LANG: C
+ } ""
#SCHEDULE maximal_slicing_axi IN MoL_PostStepModify {
# LANG: C
@@ -21,4 +37,11 @@ if (CCTK_Equals(lapse_evolution_method, "maximal_axi_mg")) {
SCHEDULE maximal_slicing_axi_mg_register_mol IN MoL_Register {
LANG: C
} ""
+
+ STORAGE: lapse_mg[2]
+ STORAGE: lapse_mg_eval
+ STORAGE: lapse_prev0
+ STORAGE: lapse_prev1
+ STORAGE: lapse_prev0_time
+ STORAGE: lapse_prev1_time
}