aboutsummaryrefslogtreecommitdiff
path: root/src/Write2D.c
Commit message (Collapse)AuthorAge
* Make only optional use of aliased function Coord_GroupSystem().tradke2006-10-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@345 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use CCTK_BYTE instead of CCTK_CHAR.schnetter2005-01-29
| | | | | | | Store CCTK_BYTE as UINT8 instead of CHAR. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@334 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* 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/CactusPUGHIO/IOFlexIO/trunk@332 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Add "name", "timelevel", "iteration" attributes to 2D IEEEIO output files.tradke2004-06-08
| | | | | | | This closes PR CactusPUGHIO/1756: "ieee->hdf5 converter problem for 2D files". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@324 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include "util_Table.h".tradke2004-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@322 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* 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/IOFlexIO/trunk@320 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* 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/IOFlexIO/trunk@302 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* 2D IOFlexIO output routines were still using the old hyperslab API.tradke2002-11-06
| | | | | | | Now they are using the "Hyperslab_*" function aliases. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@266 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* 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/CactusPUGHIO/IOFlexIO/trunk@241 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Take the identity string from the cGH structure.tradke2002-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@233 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying up the code to make it consistent with the structure in IOHDF5.tradke2002-04-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@230 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removed calls to IOUtil_RestartFromRecovery(). Now the recovery info is takentradke2002-04-15
| | | | | | | from IOUtil's GH extension. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@229 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed return codes of I/O methods.tradke2001-12-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@222 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added const qualifier to the 'cGH *' argument of some more IO functions.tradke2001-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@221 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed wrong min_ext and max_ext attributes.tradke2001-06-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@207 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Get rid of timelevel variable which is always 0 now.tradke2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@195 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* New timelevel indexingallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@193 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@192 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changing timelevel used for IO.allen2001-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@183 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Write file information to output files only if IO::out_fileinfo is set.tradke2001-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@181 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added string attributes 'parameter file' and 'creation date' to the outputtradke2001-03-21
| | | | | | | | | files. These should help identifying your datafiles later on. Also fixed couple of gcc compiler warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@178 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use Hyperslab.h instead of hardcoded PughSlab.hallen2000-12-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@173 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include ioutil_AdvertisedFiles.h and ioutil_CheckpointRecovery.htradke2000-09-21
| | | | | | | instead of ioGH.h. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@153 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* IO method for 2D IEEEIO output now uses thorn hyperslab to extracttradke2000-09-01
| | | | | | | the slices. This fixes problems with the slice center indices. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@146 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Bugfix getting the dimensionality of the variable to output as 2D.tradke2000-08-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@145 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Parameters for choosing 1D and 2D slicesallen2000-07-12
| | | | | | | New CCTK coordinate functions git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@136 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Checking that identity_string isn't NULL before using it.goodale2000-07-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@135 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Moved all the slice center stuff to IOUtil and share it from there.tradke2000-05-11
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@123 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Moving file list structure definitions into ioFlexGH.h.tradke2000-05-10
| | | | | | | Removed unused timers for parameter recovery. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@119 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changed names of PUGH functions to be uniform. Now all PUGH functionsgoodale2000-04-19
| | | | | | | | | should begin with PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@112 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixing GFExtras indexallen2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@108 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Several things which I missed to commit individually but rather do it intradke2000-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | one go now: - checkpoint/recover parameters as a single string which could also be used for writing a parameter file - added routine to be scheduled at CCTK_RECOVER_PARAMETERS - automatically select the latest checkpoint file for recovery if IO::recover = "auto" was set - Use IOFlexIO::reuse_filehandles with a different meaning now: By default all IEEEIO output files are kept open all the time. This is the most efficient method for writing data. If you run out of system file handles you can enable this parameter then to use the pause/resume scheme of the IEEEIO lib. - automatically append data sets to already exisiting output files after restart from recovery; duplicate timesteps are **NOT** removed from the output files because IEEEIO lib cannot delete/overwrite individual data sets So the reader has to handle this, it should always choose the latest data set of a given timestep. - fixed rcsid warnings - use CCTK_Info() rather than printf() for giving verbose output git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@107 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changing MPI to CCTK_MPIallen2000-04-04
| | | | | | | This means you have to reconfigure before you next compile git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@100 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changes for new PUGH structuresallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@98 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* More stuff for cp/recovery.tradke2000-03-14
| | | | | | | | | | | | | | Changes to use the new interface for CCTK_ParameterWalk(). Preparations for calling parameter recovery routine by scheduler. Checkpoint only variables of active implementations. Fixed warnings when compiling with LAM-MPI or no MPI at all. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@96 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Made CactusPUGHIO thorns aware of future multi-patch or multi-block changestradke2000-02-18
| | | | | | | | | | | | | to PUGH. The current pGH extensions are now queried via Tom's pugh_pGH() routine. The 'identity_string' provided by PUGH for each GH goes into output filenames. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@92 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they areallen2000-02-05
| | | | | | | automatically included now git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@88 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* cctk_arguments -> cctk_Argumentsallen2000-01-27
| | | | | | | cctk_parameters -> cctk_Parameters git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@81 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added several stuff to IOFlexIO:tradke2000-01-21
| | | | | | | | | | - checkpointing/recovery of parameters - made 'out2D_every', 'out2D_vars', 'out3D_every' and 'out3D_vars' steerable - fixed compiler warnings - grdocs git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@78 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Adding USE_CCTK_PARAMETERSallen2000-01-12
| | | | | | | Changing CCTK_GroupData to CCTK_OldGroupData git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@71 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Moved the test, if storage was assigned to a variable to be output,tradke1999-12-13
| | | | | | | | | | | | | from the TimeToOutput() routines into the lower level WriteOutput() routines. Fixing by that * the behaviour of triggers, where TimeToOutput() is called BEFORE storage is possibly assigned (BR 170) * a potential bug when calling OutputVarAs() where no such test was done before git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@70 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying up several things:tradke1999-10-27
| | | | | | | | | | | | | | | | | | - sp2xyz moved from PUGH's into IOFlexIO's GH extension call SetupSliceCenter() at startup to set up slice center for 2D output - fixed wrong indexing on ownership[] which caused buggy 2D output - use ParseVarsForOutput() instead of InitIONum() for parsing the out_vars parameter - decide which output dir shall be used by using CCTK_ParameterInfo() rather than comparing it with its old "outdir" default value - outdirs are always created now (not only if out_vars was non-empty) because IO methods might be invoked via CCTK_OutputVarAs() also - some variables renamed for better readability - fixed compiler warnings - hopefully get rid of empty IEEEIO subdir git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@62 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changing the DI macro to DATINDEX from Pugh, so that we can nowallen1999-10-19
| | | | | | | just have one macro in PUGH to calculate the data index git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@52 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying header filesallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@50 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removed all the #ifdef CACTUSPUGH_PUGH stuff and check for existance of PUGHtradke1999-10-05
| | | | | | | in make.configuration.defn. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@47 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed usage of coordinate origin.tradke1999-09-21
| | | | | | | Added min_ext/max_ext attributes to 2D output. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@37 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* A lot of parameter name changes, especially for IOallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@27 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@24 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use the outpfx_[2-3]D variables from own GH extensions instead of the onestradke1999-07-27
| | | | | | | from IOUtil git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@22 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Always register IO methods in setup so that one can call them viatradke1999-07-22
| | | | | | | | | | | CCTK_OutputVarAsByMethod. Store names of output files in a database instead of a fixed array, use the alias name as search index. Fix some compiler warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@19 ebee0441-1374-4afa-a3b5-247f3ba15b9a