summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-09-09 13:08:19 +0200
committerAnton Khirnov <anton@khirnov.net>2019-09-09 13:08:19 +0200
commitf60e4c9dfa675dd849ccb5830fabdbc5561562f3 (patch)
tree0a8a7fa87305880adbd54360bdd080a3b4f7726f /interface.ccl
parent73fe873b69f30f435a8a1861c596e4238e7b2069 (diff)
Do the solve on the coarse levels as well.
Breaks MPI for now.
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl12
1 files changed, 11 insertions, 1 deletions
diff --git a/interface.ccl b/interface.ccl
index 5041ea2..10a472d 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -1,7 +1,7 @@
# Interface definition for thorn QuasiMaximalSlicingMG
implements: QuasiMaximalSlicingMG
-INHERITS: ADMBase grid CoordBase MethodOfLines ML_BSSN
+INHERITS: ADMBase grid CoordBase MethodOfLines ML_BSSN Driver
CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN idx)
CCTK_INT FUNCTION MoLRegisterSaveAndRestore(CCTK_INT IN idx)
@@ -14,6 +14,16 @@ REQUIRES FUNCTION MoLRegisterSaveAndRestoreGroup
CCTK_INT FUNCTION MoLNumIntegratorSubsteps ()
USES FUNCTION MoLNumIntegratorSubsteps
+CCTK_POINTER FUNCTION \
+ VarDataPtrI \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_INT IN map, \
+ CCTK_INT IN reflevel, \
+ CCTK_INT IN component, \
+ CCTK_INT IN timelevel, \
+ CCTK_INT IN varindex)
+USES FUNCTION VarDataPtrI
+
public:
REAL W_val TYPE=GF TIMELEVELS=2
REAL W_val0 TYPE=GF TIMELEVELS=1 tags='Prolongation="None"'