aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Handle cctk_ash correctly for complex numbersHEADmastereschnett2013-01-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@114 ff385933-4943-42dc-877b-ffc776028de6
* Support array padding (take cctk_ash into account)eschnett2013-01-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@113 ff385933-4943-42dc-877b-ffc776028de6
* Correct indexing erroreschnett2012-10-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@110 ff385933-4943-42dc-877b-ffc776028de6
* Call isinf instead of isfiniteeschnett2012-10-23
| | | | | | | Also simplify code that outputs error messages git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@109 ff385933-4943-42dc-877b-ffc776028de6
* Use isnan wrappers that are not optimised awayeschnett2012-10-22
| | | | | | | | | | Call C isnan wrappers instead of calling isnan directly; this ensures that isnan is not optimised away. Simplify logic. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@108 ff385933-4943-42dc-877b-ffc776028de6
* Correct spelling error in HAVE_ISNANeschnett2012-10-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@107 ff385933-4943-42dc-877b-ffc776028de6
* fix use of restriction mask for grid arrays and scalarsrhaas2012-10-01
| | | | | | | | since they don't actually use CarpetReduce::weight it should be ignored even for ignore_restrited_points. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@106 ff385933-4943-42dc-877b-ffc776028de6
* Use namespace instead of static declarationseschnett2012-07-09
| | | | | | | | Use a namespace instead of static declarations, so that name resolution in the template works. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@105 ff385933-4943-42dc-877b-ffc776028de6
* 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