aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Replace Cactus complex number type with C/C++ complex numbersHEADmastereschnett2013-03-08
| | | | | | | | | | | | | | | | Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in C++. (It is already mapped to "double complex" in Fortran.) Update type definitions. Re-implement Cactus complex number math functions by calling the respective C functions. Update thorn that access real and imaginary parts of complex numbers to use standard-conforming methods instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@165 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Remove unused variableeschnett2012-11-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@164 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Correct format stringeschnett2012-11-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@163 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Add missing #includeeschnett2012-07-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@159 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Correct signatures of scheduled functionseschnett2011-01-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@153 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* IOHDF5Util: Adapt to the new parsing API in IOUtilschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@148 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Remove empty fileschnetter2009-09-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@147 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Require capability HDF5 via configuration.ccl instead of checking itsschnetter2009-09-24
| | | | | | | presence in the makefile git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@146 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* #include <strlen.h>schnetter2008-12-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@139 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* use collective transfers when writing datasets using parallel HDF5tradke2008-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@138 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Choose HDF5 1.6 API when compiled with HDF5 1.8.schnetter2008-01-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@137 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* bugfix: return the correct number of recovered variables also on non-I/O ↵tradke2007-06-28
| | | | | | processors git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@136 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* declare parameters before using them in function WriteDataCollective().tradke2007-01-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@135 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Implement variable-specific output request option 'compression_level'tradke2006-11-17
| | | | | | | | | | | | | | | | so that users can specify eg. IOHDF5Util::compression_level = 1 IOHDF5::out_vars = "admbase::metric admconstraints::hamiltonian admbase::lapse{ compression_level = 0 }" to request HDF5 dataset compression for every output variable except for the lapse. This modification also requires an update of thorn CactusBase/IOUtil. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@134 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Make only optional use of aliased function Coord_GroupSystem().tradke2006-10-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@133 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Do not checkpoint groups tagged with 'CHECKPOINT = "no"' in their interface.ccltradke2006-09-11
| | | | | | | definition. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@132 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fix datatype of the 'origin' argument in H5Sselect_hyperslab() calls.tradke2006-06-15
| | | | | | | This has changed after HDF5-1.6.3. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@131 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fixed small memory when using Util_snprintf().tradke2005-07-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@127 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Use CCTK_BYTE instead of CCTK_CHAR.schnetter2005-01-29
| | | | | | | | Store CCTK_BYTE as HDF5_NATIVE_UCHAR instead of HDF5_NATIVE_CHAR. Store CCTK_INT1 as HDF5_NATIVE_SCHAR instead of HDF5_NATIVE_CHAR. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@126 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Slightly reworded error message when Cactus wasn't configured with HDF5=yes.tradke2004-11-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@125 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Test the makefile variable HDF5_LFS_FLAGS to check for HDF5 LFS support.tradke2004-11-08
| | | | | | | This makefile variable is set by the Cactus HDF5 configure script. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@124 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fixed a memory leak during checkpointing.tradke2004-11-02
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@121 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Include "util_Table.h".tradke2004-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@119 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Remove calls to deprecated CCTK_Coord*() routines and use aliased functionstradke2004-05-08
| | | | | | | from CoordBase instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@117 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fixed check for HDF5.tradke2004-04-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@115 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Clean up the check for HDF5schnetter2004-04-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@112 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Do not check for PUGH, because this is handled by theschnetter2004-03-10
| | | | | | | configuration.ccl file. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@107 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Write all the Cactus parameters into a dataset rather than a single stringtradke2004-02-04
| | | | | | | | attribute. This fixes a problem with very many parameters to dump as HDF5 has a 16k size limit on attributes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@106 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Renamed some aliased hyperslab functions to comply with the maximum lengthtradke2004-01-22
| | | | | | | | | | | | | | for names of Fortran routines (31 characters): Hyperslab_DefineGlobalMappingByPhys -> Hyperslab_GlobalMappingByPhys Hyperslab_DefineGlobalMappingByIndex -> Hyperslab_GlobalMappingByIndex Hyperslab_DefineLocalMappingByPhys -> Hyperslab_LocalMappingByPhys Hyperslab_DefineLocalMappingByIndex -> Hyperslab_LocalMappingByIndex Also renamed the providing functions accordingly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@105 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* When looping over all groups for checkpointing: skip groups with no variablestradke2003-11-24
| | | | | | | | attached to them (eg. vector groups with vector length 0) and zero-sized groups (grid arrays with SIZE=<parameter> and parameter = 0). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@104 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* For checkpointing: set the with_ghostzones flag in the ioRequest structure ↵tradke2003-11-17
| | | | | | | | | to true. Note: you will need to update IOUtil also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@102 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Be backwards compatible for group type codes when reading old checkpoint files.schnetter2003-10-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@101 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fixed a problem with recovering small distributed grid arraystradke2003-10-24
| | | | | | | which have zero size on some processors. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@99 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fix for recovery of grid scalars: their rank should be compared against 0 now.tradke2003-10-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@98 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@97 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Change to CCTK_MaxTimeLevelsallen2003-07-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@94 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Use CCTK_GroupStorageIncrease() to get the number of active timelevels fortradke2003-07-14
| | | | | | | checkpointing. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@93 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Better wording in warning message which is issued if the reduction operationtradke2003-07-14
| | | | | | | | failed while dumping the value of a grid scalar during a multiprocessor run. This closes BetaThorns/1564. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@92 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Checkpoint active timelevels only. This closes PR BetaThorns/1564.tradke2003-07-14
| | | | | | | | Currently the number of active timelevels is determined by calling PUGH_NumTimeLevels() because there is no such flesh counterpart. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@91 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fix for checkpointing grid arrays which don't have any points on a processor.tradke2003-06-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@90 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Another fix for the bounding box attributes of hyperslab output.tradke2003-06-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@89 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Fix the bounding box attributes "origin", "min_ext", "max_ext", and "delta"tradke2003-06-12
| | | | | | | which weren't taking hyperslab parameters into account. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@88 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Removed an ugly artefact where a union was used to convert a 'const cGH*'tradke2003-03-10
| | | | | | | | pointer into 'cGH *' which was required by the old flesh's reduction API. This API has been fixed now. You need to update the flesh for this. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@85 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Added missing includes and fixed structure name when compiling with parallel ↵tradke2002-12-05
| | | | | | | | | HDF5. This fixes PR CactusPUGHIO/1329. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@83 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Including "Hyperslab.h" isn't neccessary anymore since we are using functiontradke2002-11-06
| | | | | | | aliases now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@81 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* When called by the filereader API, check whether to read in a dataset by nametradke2002-09-18
| | | | | | | even before opening a dataset and verifying its attributes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@79 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Shortcutting H5Giterate() after a dataset has been successfully recovered.tradke2002-09-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@78 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* During checkpointing, also check individual timelevels if they have storagetradke2002-09-04
| | | | | | | assigned. This closes PR BetaThorns/1224. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@77 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* Broadcast recovered cctk_time as a CCTK_REAL (instead CCTK_REAL4).tradke2002-08-16
| | | | | | | This fixes precision problems when advancing by very small delta times. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@76 7842ec3a-9562-4be5-9c5b-06ba18f2b668
* For filereader: report the restored variables also with default setting fortradke2002-07-05
| | | | | | | IO::verbose. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@75 7842ec3a-9562-4be5-9c5b-06ba18f2b668