summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-02-28 10:19:06 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-28 10:19:06 +0100
commita4915453f05ebdfeccd8f954026096e8f145fd06 (patch)
tree11890131c70108493c730a93fdf20ead7209a0bf /interface.ccl
Initial commit.
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
new file mode 100644
index 0000000..324fc5f
--- /dev/null
+++ b/interface.ccl
@@ -0,0 +1,16 @@
+# Interface definition for thorn QuasiMaximalSlicing
+implements: QuasiMaximalSlicing
+
+INHERITS: ADMBase grid CoordBase MethodOfLines
+
+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
+
+public:
+CCTK_REAL W TYPE=GF
+CCTK_REAL w_coeffs TYPE=array DIM=2 SIZE=basis_order_z,basis_order_r DISTRIB=constant