aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* use OpenMP during NaN checkrhaas2012-07-05
| | | | | | | this has the side effect of converting the source to C++ and using a C++ template for the CHECK_NAN macro. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@104 ff385933-4943-42dc-877b-ffc776028de6
* Add options to use restriction mask to ignore unused points, output morerhaas2012-07-05
| | | | | | information about the failed points git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@103 ff385933-4943-42dc-877b-ffc776028de6
* reduce nan mask in level moderhaas2012-03-27
| | | | | | | | | The previous local reduction did not quite work if a process has more than one component of the grid, and deadlocks if processes have different numbers of components. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@101 ff385933-4943-42dc-877b-ffc776028de6
* Initialise NaN mask after recoveringeschnett2011-08-02
| | | | | | | | Initialise NaN mask after recovering. Try to ensure that Nan checking happens last in a schedule bin. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@97 ff385933-4943-42dc-877b-ffc776028de6
* Include Licence in READMEknarf2009-01-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@88 ff385933-4943-42dc-877b-ffc776028de6
* Unify README file formatknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@87 ff385933-4943-42dc-877b-ffc776028de6
* use correct latex package in documentationknarf2009-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@86 ff385933-4943-42dc-877b-ffc776028de6
* Bugfix: reset NaN counter at INITIAL/PRESTEP in global mode.tradke2008-11-24
| | | | | | | | Before it was scheduled at POSTSTEP in level mode, and hence called too often to trigger NaNChecker output when a NaN was found on coarse refinement levels. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@85 ff385933-4943-42dc-877b-ffc776028de6
* Export routines CheckVarsForNaN and SetVarsToNaN as aliased functions.schnetter2008-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@84 ff385933-4943-42dc-877b-ffc776028de6
* decrease warning level from 2 to 1 when printing the locations of NaNs/Infstradke2007-04-27
| | | | | | | in verbose mode git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@83 ff385933-4943-42dc-877b-ffc776028de6
* fix wording in description of verbose outputtradke2007-04-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@82 ff385933-4943-42dc-877b-ffc776028de6
* Tag NaNChecker grid variables with 'checkpoint="no"'.tradke2006-01-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@81 ff385933-4943-42dc-877b-ffc776028de6
* Bugfix for periodic checking for NaNs: NaNChecker::action_if_found was ignoredtradke2006-01-30
| | | | | | | if NaNChecker::out_nanmask was set to "no". git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@80 ff385933-4943-42dc-877b-ffc776028de6
* Correct email address in copyright statement.schnetter2005-10-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@79 ff385933-4943-42dc-877b-ffc776028de6
* Schedule NaNChecker_TakeAction() in GLOBAL LOOP-level mode.tradke2005-06-09
| | | | | | | | | | Now will output all levels of the NaNMask (not just the first one in which NaNs were found). This closes PR CactusUtils/1942: "NaNChecker outputs only coarsest level of NaNmask". git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@76 ff385933-4943-42dc-877b-ffc776028de6
* Encode only those grid functions in NaNChecker::NaNmask for which NaNs were ↵tradke2005-02-07
| | | | | | found. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@75 ff385933-4943-42dc-877b-ffc776028de6
* Add missing #include <stddef.h> and #include <stdio.h> statements.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@74 ff385933-4943-42dc-877b-ffc776028de6
* Adding missing copyright files to all thorns and making themgoodale2004-11-02
| | | | | | | consistent. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@72 ff385933-4943-42dc-877b-ffc776028de6
* Now that CarpetIOHDF5 also accepts option strings in group/variable names,tradke2004-07-07
| | | | | | | | switch back to the old scheme of always outputting the NaNmask with the "{downsample={1 1 1}" options string. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@71 ff385933-4943-42dc-877b-ffc776028de6
* Use curly braces for the options string in the varname argument for ↵tradke2004-07-07
| | | | | | CCTK_OutputVarAsByMethod(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@70 ff385933-4943-42dc-877b-ffc776028de6
* Schedule NaNChecker at POSTSTEP so that the NaNmask can be safely output.tradke2004-07-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@69 ff385933-4943-42dc-877b-ffc776028de6
* Disable downsampling again if PUGH is active.schnetter2004-07-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@68 ff385933-4943-42dc-877b-ffc776028de6
* Remove no-op downsampling description. It is also not supported byschnetter2004-07-02
| | | | | | | the API. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@67 ff385933-4943-42dc-877b-ffc776028de6
* Reset the counter before counting nans.schnetter2004-06-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@66 ff385933-4943-42dc-877b-ffc776028de6
* Use DECLARE_CCTK_ARGUMENTS instead of CCTK_VarDataPtr.schnetter2004-06-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@65 ff385933-4943-42dc-877b-ffc776028de6
* Split the actual checking for NaNs and the output of the NaN mask and actiontradke2004-06-22
| | | | | | | | | | handling into two routines to make the NaNChecker work with Carpet: the checking is now called local mode (on each component individually), whereas the output and action handling takes place in level mode. There is also a level-mode routine to initialize the NaNsFound counter to 0. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@64 ff385933-4943-42dc-877b-ffc776028de6
* Define a CCTK_INT scalar variable 'NaNChecker::NaNmask' which holds the totaltradke2004-06-22
| | | | | | | number of NaNs found during the last check. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@63 ff385933-4943-42dc-877b-ffc776028de6
* NaNChecker provides capability NaNChecker.tradke2004-04-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@61 ff385933-4943-42dc-877b-ffc776028de6
* Remove configuration check for isnan(), and make NaNChecker work (doschnetter2004-04-10
| | | | | | | nothing) when isnan() is not there git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@60 ff385933-4943-42dc-877b-ffc776028de6
* Use $(error) instead of an unsatisfied dependency to reportschnetter2004-03-10
| | | | | | | configuration errors. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@58 ff385933-4943-42dc-877b-ffc776028de6
* Initialise NaNmask pointer when called from another thorn.schnetter2004-03-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@57 ff385933-4943-42dc-877b-ffc776028de6
* Fix comment.schnetter2004-03-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@56 ff385933-4943-42dc-877b-ffc776028de6
* Allow passing a NULL pointer as action, as is described in the documentation.schnetter2004-03-03
| | | | | | | Fix detecting the variable type. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@55 ff385933-4943-42dc-877b-ffc776028de6
* Fix typo.schnetter2004-03-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@54 ff385933-4943-42dc-877b-ffc776028de6
* NaNChecker is now scheduled at ANALYSIS (rather than POSTSTEP).tradke2004-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@53 ff385933-4943-42dc-877b-ffc776028de6
* Do not prolong.schnetter2003-11-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@52 ff385933-4943-42dc-877b-ffc776028de6
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@51 ff385933-4943-42dc-877b-ffc776028de6
* NaNChecker_CheckVarsForNaN() can be called mulitple times for the sametradke2003-10-08
| | | | | | | variable during the same timestep. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@50 ff385933-4943-42dc-877b-ffc776028de6
* Fixed grdoc for NaNChecker_CheckVarsForNaN() which had the error return codestradke2003-10-08
| | | | | | | in wrong order. Thanks to Ian for spotting this. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@49 ff385933-4943-42dc-877b-ffc776028de6
* Inherit from Reduce.tradke2003-07-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@48 ff385933-4943-42dc-877b-ffc776028de6
* Need to reduce the NaN count values on all processors if NaNmask output wastradke2003-07-25
| | | | | | | requested. Otherwise CCTK_OutputVarAsByMethod() would deadlock. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@47 ff385933-4943-42dc-877b-ffc776028de6
* Change to CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@46 ff385933-4943-42dc-877b-ffc776028de6
* Fix a memory leak in PrintWarning().tradke2003-07-08
| | | | | | | This closes PR CactusUtils/1558. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@45 ff385933-4943-42dc-877b-ffc776028de6
* Disabled the NaNmask location feature if the NaNChecker was called directlytradke2003-06-19
| | | | | | | | | | | | by another thorn via its NaNChecker_CheckVarsForNaN() API. Only remember and check the last call to the periodically scheduled NaNChecker() routine if the output of the NaNmask was requested. This restriction is just implied by the invoked I/O method which can output a variable only once per iteration. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@44 ff385933-4943-42dc-877b-ffc776028de6
* Fix NaNChecker_CheckVarsForNaN() so that it doesn't call CCTK_Equals() ontradke2003-06-19
| | | | | | | the 'action_if_found' parameter if passed as a NULL pointer. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@43 ff385933-4943-42dc-877b-ffc776028de6
* Forgot to call CCTK_TerminateNext() when NaNChecker::action_if_found = ↵tradke2003-06-17
| | | | | | "terminate" was set. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@42 ff385933-4943-42dc-877b-ffc776028de6
* Added steerable INTEGER parameter NaNChecker::check_after to specify antradke2003-06-17
| | | | | | | iteration number when to start checking for NaNs. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@41 ff385933-4943-42dc-877b-ffc776028de6
* Document how to track NaN positions in grid functions using a mask array,tradke2003-06-12
| | | | | | | and how to visualize them in OpenDX. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@40 ff385933-4943-42dc-877b-ffc776028de6
* Added an integer grid function NaNChecker::NaNmask which is used as a bitmasktradke2003-06-12
| | | | | | | | | | to mark locations of NaNs found in grid functions. The mask is output as an HDF5 file and can then be visualized in OpenDX. Setting the mask and outputting it is activated by default. It can be switched off with NaNChecker::out_NaNmask = "no". git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@39 ff385933-4943-42dc-877b-ffc776028de6
* Enclose function prototypes in '#ifdef __cplusplus' block.tradke2003-04-07
| | | | | | | This closes PR CactusUtils/1466. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@38 ff385933-4943-42dc-877b-ffc776028de6