summaryrefslogtreecommitdiff
path: root/src/qms.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2019-07-11 13:01:42 +0200
committerAnton Khirnov <anton@khirnov.net>2019-07-11 13:04:07 +0200
commit597796a929acc0ec241b2bf66d8c560cbe852b4a (patch)
tree4a6c8707ad3e883876f8fd3fd4f85fa2178dc825 /src/qms.c
parentb96c89a5cce040424bb6031bdacb008a6c956dd1 (diff)
Move the QMS source function to BSSN.
Diffstat (limited to 'src/qms.c')
-rw-r--r--src/qms.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qms.c b/src/qms.c
index 54cd657..839f16d 100644
--- a/src/qms.c
+++ b/src/qms.c
@@ -353,7 +353,7 @@ void quasimaximal_slicing_axi_eval(CCTK_ARGUMENTS)
int64_t expand_start;
- double *coeffs = NULL;
+ double *coeffs = NULL, *W;
int i, ret;
if (!qms_context)
@@ -393,6 +393,11 @@ void quasimaximal_slicing_axi_eval(CCTK_ARGUMENTS)
}
#endif
+ if (ccz4)
+ W = CCTK_VarDataPtr(cctkGH, 0, "ML_CCZ4::W");
+ else
+ W = CCTK_VarDataPtr(cctkGH, 0, "ML_BSSN::W");
+
CCTK_TimerStart("QuasiMaximalSlicing_Expand");
expand_start = gettime();
#if 0