aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Advertise the parameter file so it can be viewed/downloaded fromallen2001-06-26
| | | | | | | the Files page with HTTPDExtra. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@124 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Compiler warningsallen2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@122 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@121 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Commented out debugging output.tradke2001-05-09
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@120 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Also set the slice center if there's no coordinate system registered.tradke2001-05-08
| | | | | | | In this case it will take the values from the out_[xyz]line_[xyz]i parameters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@119 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed compiler warnings about unused function parameters.tradke2001-05-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@117 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Files from "IO::recover_ID_files" list are now searched in "IO::recovery_dir".tradke2001-04-23
| | | | | | | This closes PR CactusBase-622. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@116 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed small memory problem setting up slice centersallen2001-04-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@115 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed gcc compiler warnings.tradke2001-03-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@113 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added missing include for memset(3).tradke2001-03-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@112 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Use ceil() when computing the slice centers for 1D lines/2D planes.tradke2001-03-08
| | | | | | | | | | This should fix PR CactusBase/536. Also added missing grdoc and removed source file ChooseOutput.c which isn't used here. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@111 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixing warningsallen2001-02-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@110 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removing unused local variable and its assignment.tradke2000-10-24
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@105 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Unconditionally create the checkpoint dir.tradke2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@101 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved static variable listener_DB to AdvertisedFiles.c.tradke2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@99 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added new source file AdvertisedFiles.c.tradke2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@98 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removed typedefs and prototypes which are now in separate headers ioutil_*.h.tradke2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@97 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved advertised file stuff from GHExtensions.c to here.tradke2000-09-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@96 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved IOUtil_PrintTimings() from GHExtensions.c to here.tradke2000-09-21
| | | | | | | Untabified source. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@95 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved IOUtil_PrintTimings() into Utils.c.tradke2000-09-21
| | | | | | | | Moved advertised file stuff into AdvertisedFile.c. Removed deprecated routine IOUtil_ParseVarsForOutput(). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@94 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Use CCTK_TraverseString() to parse the IO::in_vars parameter.tradke2000-09-21
| | | | | | | | Added new routine IOUtil_RestartFromRecovery() which just returns the 'recovered' flag from IOUtil's GH extensions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@93 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Took some stuff out of ioGH.h and put it into separate header files.tradke2000-09-21
| | | | | | | Now most of the IO sources don't need to include ioGH.h anymore. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@92 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added a */ I had forgotten about.goodale2000-09-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@91 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* #ifdefing out the listener database on the GH extension.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@89 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Made listener database local rather than being on the GH.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@88 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Cosmetic changes - missing rcsids, etc.goodale2000-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@87 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixing small memory leak reported by purify.tradke2000-08-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@86 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Some tidying of IOUtil_ParseVarsForOutput().tradke2000-08-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@84 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed compiler warning on nottallen2000-07-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@82 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Protecting array references for dim < 3.goodale2000-07-18
| | | | | | | | | Formatting changes. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@80 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Use parameters to choose 1D and 2D slices.allen2000-07-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@79 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* New routines for calculating where 1D and 2D slices are located for outputallen2000-07-12
| | | | | | | | | | | | | | from a 3D grid function. See the documentation (in a couple of days!) for full details, or just check out the parameter options. The main difference from before is that the default is to place the lines/slices at the zero value of the coordinate system. For a full grid this is different, from before, since the lines/slices were placed in the center of the grid. (The big benefit of changing it is not only to make it consistent, but to remove all knowledge of those pesky symmetry options from the IO thorns). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@78 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added routine IOUtil_PrintTimings() which can be called by other thornstradke2000-06-29
| | | | | | | | to output their timer info. It gets passed an array of Cactus timers together with some description. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@74 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added stuff for file advertising. I'd be happy for suggestions on shorter names.tradke2000-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is some explanation how to use it: The routine int IOUtil_RegisterAdvertisedFileListener (cGH *GH, const char *listener, const IOUtil_AdvertisedFileListenerCallbacks_t *callbacks); registers a listener with its own callbacks for file advertising. For the time being the only function pointer in the callback structure is int (*advertise) (cGH *GH, const char *filename, const IOUtil_AdvertisedFileDesc_t *description); which gets passed the filename and a structure with information on the file to be advertised. Any IO methods which want to advertise a file do this by calling int IOUtil_AdvertiseFile (cGH *GH, const char *filename, const IOUtil_AdvertisedFileDesc_t *desc); This routine simply loops through all registered listeners and calls their advertise() callback. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@73 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Slice center setup for 2D output is now done in IOUtiltradke2000-05-11
| | | | | | | and shared by IOASCII and IOFlexIO. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@72 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Changing CCTK_CreateDirectoryallen2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@70 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* New macros for calling C from fortranallen2000-05-10
| | | | | | | CCTK_mkdir -> CCTK_CreateDirectory git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@69 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added prototypes for generic filereader and parameter recovery routines .tradke2000-04-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@68 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Give level 2 warning if output dir already exists, level 1 warning if ittradke2000-04-28
| | | | | | | couldn't be created. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@67 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added filereader initial data recovery routine as well as the generic routinetradke2000-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | void IOUtil_RecoverVarsFromDatafiles (cGH *GH, const char *in_files, const char *in_vars) which can be called by thorns at any time to read in variables from data files. It gets passed a list of files as their basenames (without the file type extension), and a list of group or variable fullnames (or "all" for all existing variables). Elements in both lists are separated by spaces. The generic filereader routine loops through all registered recovery methods to actually do the recovery, so you also have to activate the corresponding IO thorns. Also added a generic parameter recovery routine which can be called by those thorns which provide recovery functionality. Basically, it just implements the scandir(3) stuff for evaluating the IO::recover = "auto" setting in a single place, and in turn calls the thorns' parameter recovery routines. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@66 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removing extraneous ; .goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@62 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Print a warning at recovery if no recovery routines were registeredtradke2000-04-19
| | | | | | | and stop Cactus afterwards. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@61 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Use the Cactus 4 counting scheme for cctk_convlevel (which starts at 0 andtradke2000-04-18
| | | | | | | | | | | | is incremented for each level). This fixes CactusBase/296. Also omit checkpointing of all parameters which were not explicitely set in the parameter file and thus keep their default values. Fixing CactusBase/296 where cctk_convlevel was count git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@60 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Better scheduling of registered recovery routines.tradke2000-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@59 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Using CCTK_FILEVERSION to get rid of rcsid warning.tradke2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@56 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added 'recovered' flag to the IO GH extensions which is set after atradke2000-04-12
| | | | | | | | | successful recovery. This flag is meant to be used by IO methods to decide whether to open existing output files in TRUNCATE or APPEND mode. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@55 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added 2 routines for checkpointing/recovery of parameters:tradke2000-04-12
| | | | | | | | | | | | - IOUtil_GetAllParameters() collects all active parameters into an allocated string buffer. - IOUtil_SetAllParameters() parses a given string buffer for parameters and sets their corresponding values. This routine could be replaced by the flesh's ParseFile() routine if it can read from a string buffer also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@53 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Put the downsampling parameter values in IOUtil's GH extentsions intotradke2000-03-27
| | | | | | | | | | | | a dynamic array rather than keep them fixed to only 3 dimensions (although IO provides parameters for only [x,y,z] at the moment). This simplifies the downsampling code for variables with arbitrary dimensions. code. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@51 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixing starting point of convlevel, this may have to be changed to doallen2000-02-16
| | | | | | | | something better than the Cactus 3 med and low attachments to the filenames git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@49 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they areallen2000-02-05
| | | | | | | automatically included now git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@46 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a