summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-07-22 09:59:20 +0200
committerAnton Khirnov <anton@khirnov.net>2019-07-22 09:59:20 +0200
commit68e2c0b3166527e95b66c024fcc06395d059c6bf (patch)
tree7be949ae03f13f849bcd2939e588adc33cc13ccb /interface.ccl
Initial commit.
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl26
1 files changed, 26 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
new file mode 100644
index 0000000..37e039a
--- /dev/null
+++ b/interface.ccl
@@ -0,0 +1,26 @@
+# Interface definition for thorn QuasiMaximalSlicingMG
+implements: QuasiMaximalSlicingMG
+
+INHERITS: ADMBase grid CoordBase MethodOfLines ML_BSSN
+
+CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN idx)
+CCTK_INT FUNCTION MoLRegisterSaveAndRestore(CCTK_INT IN idx)
+CCTK_INT FUNCTION MoLRegisterSaveAndRestoreGroup(CCTK_INT IN idx)
+
+REQUIRES FUNCTION MoLRegisterConstrained
+REQUIRES FUNCTION MoLRegisterSaveAndRestore
+REQUIRES FUNCTION MoLRegisterSaveAndRestoreGroup
+
+CCTK_INT FUNCTION MoLNumIntegratorSubsteps ()
+USES FUNCTION MoLNumIntegratorSubsteps
+
+public:
+REAL W_val0 TYPE=GF TIMELEVELS=1
+REAL W_val1 TYPE=GF TIMELEVELS=1
+REAL W_val0_time TYPE=ARRAY DIM=1 SIZE=32 DISTRIB=constant
+REAL W_val1_time TYPE=ARRAY DIM=1 SIZE=32 DISTRIB=constant
+
+REAL W_pred0 TYPE=GF tags='Prolongation="None"' TIMELEVELS=1
+REAL W_pred1 TYPE=GF tags='Prolongation="None"' TIMELEVELS=1
+REAL W_pred0_time TYPE=ARRAY DIM=1 SIZE=32 DISTRIB=constant
+REAL W_pred1_time TYPE=ARRAY DIM=1 SIZE=32 DISTRIB=constant