aboutsummaryrefslogtreecommitdiff
path: root/Examples/SimpleWaveScript/schedule.ccl
diff options
context:
space:
mode:
authorBarry Wardell <barry.wardell@gmail.com>2012-02-09 09:49:35 +0000
committerBarry Wardell <barry.wardell@gmail.com>2012-02-09 10:14:42 +0000
commit3f0dc8ca3ddee5c78c6922abc9707d464a2d0506 (patch)
tree008d2b88e137c272ff34c7a1363a8e3c9196dbe8 /Examples/SimpleWaveScript/schedule.ccl
parent4b9da3393b67b7b8f75396c6d8e7abef86ee7b27 (diff)
parent90ef11c6391568bf00fc7258f7f7060a81c0dfe8 (diff)
Merge remote-tracking branch 'origin/piraha'
Conflicts: Tools/CodeGen/Kranc.m
Diffstat (limited to 'Examples/SimpleWaveScript/schedule.ccl')
-rw-r--r--Examples/SimpleWaveScript/schedule.ccl101
1 files changed, 101 insertions, 0 deletions
diff --git a/Examples/SimpleWaveScript/schedule.ccl b/Examples/SimpleWaveScript/schedule.ccl
new file mode 100644
index 0000000..49113c0
--- /dev/null
+++ b/Examples/SimpleWaveScript/schedule.ccl
@@ -0,0 +1,101 @@
+# File produced by Kranc
+
+
+if (timelevels == 1)
+{
+ STORAGE: phi_group[1]
+}
+if (timelevels == 2)
+{
+ STORAGE: phi_group[2]
+}
+if (timelevels == 3)
+{
+ STORAGE: phi_group[3]
+}
+
+if (timelevels == 1)
+{
+ STORAGE: pi_group[1]
+}
+if (timelevels == 2)
+{
+ STORAGE: pi_group[2]
+}
+if (timelevels == 3)
+{
+ STORAGE: pi_group[3]
+}
+
+if (rhs_timelevels == 1)
+{
+ STORAGE: phi_grouprhs[1]
+}
+if (rhs_timelevels == 2)
+{
+ STORAGE: phi_grouprhs[2]
+}
+if (rhs_timelevels == 3)
+{
+ STORAGE: phi_grouprhs[3]
+}
+
+if (rhs_timelevels == 1)
+{
+ STORAGE: pi_grouprhs[1]
+}
+if (rhs_timelevels == 2)
+{
+ STORAGE: pi_grouprhs[2]
+}
+if (rhs_timelevels == 3)
+{
+ STORAGE: pi_grouprhs[3]
+}
+
+schedule SimpleWaveScript_Startup at STARTUP
+{
+ LANG: C
+ OPTIONS: meta
+} "create banner"
+
+schedule SimpleWaveScript_RegisterVars in MoL_Register
+{
+ LANG: C
+ OPTIONS: meta
+} "Register Variables for MoL"
+
+schedule SimpleWaveScript_RegisterSymmetries in SymmetryRegister
+{
+ LANG: C
+ OPTIONS: meta
+} "register symmetries"
+
+schedule initial_sine_calc at initial
+{
+ LANG: C
+} "initial_sine_calc"
+
+schedule calc_rhs in mol_calcrhs
+{
+ LANG: C
+} "calc_rhs"
+
+schedule SimpleWaveScript_SelectBoundConds in MoL_PostStep
+{
+ LANG: C
+ OPTIONS: level
+ SYNC: phi_group
+ SYNC: pi_group
+} "select boundary conditions"
+
+schedule SimpleWaveScript_CheckBoundaries at BASEGRID
+{
+ LANG: C
+ OPTIONS: meta
+} "check boundaries treatment"
+
+schedule group ApplyBCs as SimpleWaveScript_ApplyBCs in MoL_PostStep after SimpleWaveScript_SelectBoundConds
+{
+ # no language specified
+} "Apply boundary conditions controlled by thorn Boundary"