summaryrefslogtreecommitdiff
path: root/src/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/register.c')
-rw-r--r--src/register.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/register.c b/src/register.c
new file mode 100644
index 0000000..1b76eee
--- /dev/null
+++ b/src/register.c
@@ -0,0 +1,19 @@
+
+#include "cctk.h"
+#include "cctk_Arguments.h"
+#include "Slicing.h"
+
+int maximal_slicing_axi_register(void)
+{
+ Einstein_RegisterSlicing("maximal_axi");
+ return 0;
+}
+
+void maximal_slicing_axi_register_mol(CCTK_ARGUMENTS)
+{
+ MoLRegisterConstrained(CCTK_VarIndex("ADMBase::alp"));
+ MoLRegisterConstrained(CCTK_VarIndex("MaximalSlicingAxi::alpha_coeffs"));
+
+ MoLRegisterSaveAndRestoreGroup(CCTK_GroupIndex("ADMBase::metric"));
+ MoLRegisterSaveAndRestoreGroup(CCTK_GroupIndex("ADMBase::curv"));
+}