From 2eadd221eb3ab023777758e93a9dd14463e33d2b Mon Sep 17 00:00:00 2001 From: schnetter Date: Mon, 22 Sep 2008 23:51:41 +0000 Subject: Call the NaNChecker via the aliased function CheckVarsForNaN instead of calling it directly. This decouples thorn MoL from thorn NaNChecker. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@128 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b --- interface.ccl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'interface.ccl') diff --git a/interface.ccl b/interface.ccl index 9a10c91..a07c680 100644 --- a/interface.ccl +++ b/interface.ccl @@ -5,10 +5,21 @@ implements: MethodOfLines #INCLUDE HEADER: MoLFunctions.h IN MoLFunctions.h #INCLUDE HEADER: MoL.h IN MoL.h -USES INCLUDE: NaNChecker.h #USES INCLUDE: carpet.h +################################################## +### Functions from NaNChecker that may be used ### +################################################## + +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) +USES FUNCTION CheckVarsForNaN + ############################################## ### Functions from Carpet that may be used ### ############################################## -- cgit v1.2.3