diff options
author | schnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2008-09-22 23:51:41 +0000 |
---|---|---|
committer | schnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2008-09-22 23:51:41 +0000 |
commit | 2eadd221eb3ab023777758e93a9dd14463e33d2b (patch) | |
tree | 71f0a6b4adee71b5ff710093fe1b7620cbe3a9ee /interface.ccl | |
parent | ca85018c5e7ed9cc0c5af425b2409014763f4b5b (diff) |
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
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 13 |
1 files changed, 12 insertions, 1 deletions
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 ### ############################################## |