From 92fe5ba752c11357f28e52ac3460b0b76df38417 Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 22 May 2001 01:49:04 +0000 Subject: Count the number of NaNs found in a variable. This will be reported in a level 1 warning for each variable. The indices of all NaN elements in a grid array variable are also reported as level 2 warnings. An integer parameter 'NaNChecker::check_max' was added which limits the number of those warnings. Default is unlimited (0). This closes PR 693. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@9 ff385933-4943-42dc-877b-ffc776028de6 --- README | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 2c9882a..cb85656 100644 --- a/README +++ b/README @@ -21,10 +21,15 @@ and - in case a NaN was found - performs an action as specified in Currently these actions can be to - * just print a level 1 warning message telling you where the NaN occurred, + * just print a level 1 warning message telling you where NaNs were found + and how many (for grid array variables). + For grid arrays it will also print level 2 warnings with the array index + (in fortran order) for all NaN elements. You can limit the number of + such warnings by setting the 'NanChecker::check_max' parameter. * also set the CCTK termination flag so that Cactus will stop the evolution loop and gracefully terminate at the next time possible (giving you the choice of outputting the data from the last evolution timestep), - * print the warning and immediately terminate Cactus by a call to CCTK_Abort() + * print the warning message(s) and immediately terminate Cactus + by a call to CCTK_Abort() -- cgit v1.2.3