aboutsummaryrefslogtreecommitdiff
path: root/Examples/SimpleWaveOpenCL/schedule.ccl
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-01-31 14:22:14 -0600
committerIan Hinder <ian.hinder@aei.mpg.de>2012-01-31 14:22:14 -0600
commit658fa6fcb2dfea4354d734af7cb3d946e54342fa (patch)
treef15b719dea2b3dc6a96816b611d80c3b8482a3a2 /Examples/SimpleWaveOpenCL/schedule.ccl
parent40d9f7919784643c3a1e3ccb3f6883b1eb81e121 (diff)
Generate SimpleWaveOpenCL
Diffstat (limited to 'Examples/SimpleWaveOpenCL/schedule.ccl')
-rw-r--r--Examples/SimpleWaveOpenCL/schedule.ccl74
1 files changed, 74 insertions, 0 deletions
diff --git a/Examples/SimpleWaveOpenCL/schedule.ccl b/Examples/SimpleWaveOpenCL/schedule.ccl
new file mode 100644
index 0000000..8395c0a
--- /dev/null
+++ b/Examples/SimpleWaveOpenCL/schedule.ccl
@@ -0,0 +1,74 @@
+# File produced by Kranc
+
+
+if (timelevels == 1)
+{
+ STORAGE: evolved_group[1]
+}
+if (timelevels == 2)
+{
+ STORAGE: evolved_group[2]
+}
+if (timelevels == 3)
+{
+ STORAGE: evolved_group[3]
+}
+
+if (rhs_timelevels == 1)
+{
+ STORAGE: evolved_grouprhs[1]
+}
+if (rhs_timelevels == 2)
+{
+ STORAGE: evolved_grouprhs[2]
+}
+if (rhs_timelevels == 3)
+{
+ STORAGE: evolved_grouprhs[3]
+}
+
+schedule SimpleWaveOpenCL_Startup at STARTUP
+{
+ LANG: C
+ OPTIONS: meta
+} "create banner"
+
+schedule SimpleWaveOpenCL_RegisterVars in MoL_Register
+{
+ LANG: C
+ OPTIONS: meta
+} "Register Variables for MoL"
+
+schedule SimpleWaveOpenCL_RegisterSymmetries in SymmetryRegister
+{
+ LANG: C
+ OPTIONS: meta
+} "register symmetries"
+
+schedule initial_sine AT INITIAL
+{
+ LANG: C
+} "initial_sine"
+
+schedule calc_rhs in MoL_CalcRHS
+{
+ LANG: C
+} "calc_rhs"
+
+schedule SimpleWaveOpenCL_SelectBoundConds in MoL_PostStep
+{
+ LANG: C
+ OPTIONS: level
+ SYNC: evolved_group
+} "select boundary conditions"
+
+schedule SimpleWaveOpenCL_CheckBoundaries at BASEGRID
+{
+ LANG: C
+ OPTIONS: meta
+} "check boundaries treatment"
+
+schedule group ApplyBCs as SimpleWaveOpenCL_ApplyBCs in MoL_PostStep after SimpleWaveOpenCL_SelectBoundConds
+{
+ # no language specified
+} "Apply boundary conditions controlled by thorn Boundary"