aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Remove unused variableHEADmastereschnett2012-11-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@223 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Introduce cctk_ash, retire cctk_lssheschnett2012-07-04
| | | | | | | | | | | | Introduce cctk_ash, describing the process-local array shape that has been allocated. This may be larger than cctk_lsh, the process-local shape that should be used. Retire cctk_lssh and related infrastructure to handle staggered grid functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@220 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* (At least) one place in IOASCII assumes maxdim<=3 by only allocating 3 ↵knarf2012-04-20
| | | | | | entries of an array but then writing maxdim entries. The thorn TestArrays tests 4D arrays in its testsuite and while this seems to work on 64bit machines, it gives a segfault on 32bit machines (plus valgrind complaining loudly). Allocating maxdim entries (like also done elsewhere in the file) solves this problem, as done in this patch. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@218 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Add missing #include "cctk_Arguments.h"eschnett2011-01-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@213 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Correct function signatureeschnett2011-01-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@212 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* IOASCII: Adapt to the new parsing API in IOUtilschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@207 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Correct prototyp of IOASCII's Startup routineschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@206 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Make only optional use of aliased function Coord_GroupSystem().tradke2006-10-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@199 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed small memory when using Util_snprintf().tradke2005-07-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@192 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fully initialise slice center variables.tradke2005-05-10
| | | | | | | | This closes PR CactusBase/1925: "Origin handling in ASCII I/O uses uninitialised values". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@190 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Use CCTK_BYTE instead of CCTK_CHARschnetter2005-01-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@189 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Add missing #include <stdio.h> statement.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@188 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Add missing #include <stdio.h> statementsschnetter2004-12-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@187 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Use aliased function IO_TruncateOutputFiles() to check whether or nottradke2004-11-17
| | | | | | | | to truncate existing output files. You must also update CactusBase/IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@186 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Initialize the extent_int[] array before it is being used !tradke2004-06-15
| | | | | | | This closes PR CactusBase/1770: "IOAscii 3D output no longer works". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@184 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed out-of-bounds array access for downsample[], a bug found by Yosef ↵tradke2004-06-11
| | | | | | | | | Zlochower. This closes PR CactusBase/1765: 'array subsrcipt out of bounds in array "downsample"'. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@183 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Implement downsampling for IOASCII output.tradke2004-06-10
| | | | | | | Set IO::out_downsample_[xyz] to change to default of no downsampling. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@182 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* After setup, do an initial I/O parameter parsing and warn/stop on parsing errorstradke2004-06-09
| | | | | | | | (depending on IO::strict_io_parameter_check). You will also need to update CactusBase/IOUtil. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@180 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Don't hyperslab/output zero-sized grid variables.tradke2004-06-04
| | | | | | | Finally closes PR CactusPUGH/1243: "Segmentation fault in PUGHSlab". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@177 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed 2D output which used wrong slice center settings.tradke2004-06-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@176 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Untabified. Please try to adhere to the Cactus coding guidelines whengoodale2004-05-17
| | | | | | | modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@175 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Include "util_Table.h".tradke2004-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@173 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Removed the hard-coded assumption of "cart%d" being the underlying coordinatetradke2004-05-01
| | | | | | | | | | system. Now the coordinate functions provided by CoordBase are used to get the coordinate coordinate system associated with an output variable, as well as the physical coordinate ranges. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@168 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Another fix for 2D output of complex arrays.tradke2004-04-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@163 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Initialize format string for complex output.tradke2004-04-01
| | | | | | | This closes PR CactusBase/1638: "Complex 2D arrays cannot be output". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@162 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Renamed some aliased hyperslab functions to comply with the maximum lengthtradke2004-01-23
| | | | | | | | | | | | for names of Fortran routines (31 characters): Hyperslab_DefineGlobalMappingByPhys -> Hyperslab_GlobalMappingByPhys Hyperslab_DefineGlobalMappingByIndex -> Hyperslab_GlobalMappingByIndex Hyperslab_DefineLocalMappingByPhys -> Hyperslab_LocalMappingByPhys Hyperslab_DefineLocalMappingByIndex -> Hyperslab_LocalMappingByIndex git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@157 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fix wrong order of coordinate or gridpoint indices in 2D ASCII output,schnetter2004-01-16
| | | | | | | | but keep the normal of the surface pointing upwards, so that gnuplot colours it correctly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@156 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fix indentationschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@155 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Only register 2D/3D IOASCII I/O methods if the maximum dimension of gridtradke2003-12-03
| | | | | | | variables is >= 2 or >= 3 resp. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@154 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Provide level 1 warning if OutputVarAs() is called on an invalid variable name.rideout2003-12-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@153 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* 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/CactusBase/IOASCII/trunk@150 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Doubled the char buffer size of the format string.tradke2003-08-22
| | | | | | | This should fix PR CactusBase/1586: Buffer overflow in IOASCII. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@148 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Transposed order of grid points for 2D gnuplot output (CactusBase/1444),tradke2003-03-27
| | | | | | | | | | mark restart points in output files with a blank line between the last output before the abort and the first output after the restart (CactusBase/1446), removed superfluous blank line in gnuplot output files (CactusBase/1447) and fixed broken output of complex variables (PR CactusBase/1456). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@144 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed string concatenation when creating the filename for 2D output.tradke2003-03-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@143 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Removed unneccessary inclusion of header file "util_Table.h".tradke2003-03-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@142 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Copy pointer to string parameter into local variable before modifying it.tradke2003-01-07
| | | | | | | | This prevents future problems when string parameter pointer will be made read-only. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@139 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Including "Hyperslab.h" isn't neccessary anymore since we are using functiontradke2002-11-06
| | | | | | | aliases now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@136 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Removed preliminary code that wasn't supported yet by the hyperslab thorn.tradke2002-10-23
| | | | | | | Now it compiles again. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@135 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fix to output complex variables in xgraph format.tradke2002-10-23
| | | | | | | This closes PR CactusBase/1264. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@134 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fix in outputting also the imaginary part of complex variables.tradke2002-10-23
| | | | | | | This closes PR CactusBase/1265. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@133 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Typecast size_t to int, to avoid a compiler warning on ia64.rideout2002-10-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@132 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed newlines for 3D data using patch from Erik Schnetter.allen2002-09-08
| | | | | | | Fixes Cactus/1230 git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@131 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Corrected to properly handle staggered grids.rideout2002-06-20
| | | | | | | | This may have to be modified when the new coordinate infrastructure is working properly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@128 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Can't use the slice center for CCTK_ARRAY variables. For those variablestradke2002-06-07
| | | | | | | | the slices will always start at (0, 0, 0). This fixes PR CactusBase/1052. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@124 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Allow the 'out_every' option in option strings to set the output frequencytradke2002-05-28
| | | | | | | | for individual variables. You also need to update CactusBase/IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@120 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Bugfix for 3D output with indices instead of coordinates.tradke2002-05-21
| | | | | | | This closes PR CactusBase/IOASCII 1053. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@118 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Fixed potential string buffer overflow when outputting in exponential notation.tradke2002-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@117 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Bugfix when writing no label information to 1D output files. A blank linetradke2002-05-10
| | | | | | | was missing then. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@115 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Bugfix for obtaining a variable's extents.tradke2002-05-10
| | | | | | | This closes PR CactusBase/IOASCII 1039. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@114 94b1c47f-dcfd-45ef-a468-0854c0e9e350
* Parameter names changes as announced in today's mail to users@cactuscode.org.tradke2002-05-06
| | | | | | | You must also update thorn IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@113 94b1c47f-dcfd-45ef-a468-0854c0e9e350