aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index d4d1dd9..01662e8 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -6,8 +6,30 @@ implements: NaNChecker
inherits: Reduce
+
INCLUDES HEADER: NaNCheck.h in NaNChecker.h
+
+
+CCTK_INT FUNCTION CheckVarsForNaN \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_INT IN report_max, \
+ CCTK_STRING IN vars, \
+ CCTK_STRING IN check_for, \
+ CCTK_STRING IN action_if_found)
+PROVIDES FUNCTION CheckVarsForNaN \
+ WITH NaNChecker_CheckVarsForNaN_Wrapper \
+ LANGUAGE C
+
+CCTK_INT FUNCTION SetVarsToNaN \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_STRING IN vars)
+PROVIDES FUNCTION SetVarsToNaN \
+ WITH NaNChecker_SetVarsToNaN_Wrapper \
+ LANGUAGE C
+
+
+
private:
INT NaNmask TYPE=GF TAGS='Prolongation="None" checkpoint="no"' "Grid function mask for NaN locations"