summaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAge
* Changing macro name to keep solaris compiler happy.goodale2000-05-08
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1630 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_MkDirs to make a directory and all necessary parents.goodale2000-05-02
| | | | | | | | | CCTK_mkdir now calls this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1622 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the util string functions to one place.goodale2000-05-02
| | | | | | | | | | Added Util_StrSep - same functionality as strsep. Renamed CCTK_StrDup as Util_Strdup. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1621 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check with stat(2) if the directory to be created already exists.tradke2000-04-28
| | | | | | | | | | | | | | | This should work for NT as well. Changed return values of CCTK_mkdir(): 0 dir was successfully created positive dir already exists negative failed to create dir for some reason Currently it still uses system(3) to create the dir where you cannot really check for an error code. This should be replaced by mkdir(2) in the future. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1620 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing various warnings.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing rcsid warningsallen2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing incprrect syntax after #endif.goodale2000-04-13
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1538 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added back the line to in CCTK_FortranString which does agoodale2000-04-04
| | | | | | | | | | | | ONE_FORTSTRING_CREATE. This will produce compiler warnings about unused variables on most platforms but is necessary for the T3E. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1512 17b73243-c579-4c4c-a9d2-2d5706c11dac
* removing Warnign from Malloc.clanfer2000-04-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1508 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GRDOC and bugfix for CCTK_Strdup.goodale2000-03-31
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1507 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningsallen2000-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1505 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding realloc calloclanfer2000-03-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1500 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Strduplanfer2000-03-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1498 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1487 17b73243-c579-4c4c-a9d2-2d5706c11dac
* increased char sizelanfer2000-03-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1469 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Memory ticketslanfer2000-03-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1461 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Made string arguments const. Some cosmetic changes.goodale2000-03-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing debug statements so that the file parser reports the line in the ↵allen2000-03-09
| | | | | | original parameter file with the error git-svn-id: http://svn.cactuscode.org/flesh/trunk@1450 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding grdocslanfer2000-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* memtracinglanfer2000-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1445 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicit cast as required by the NEC compiler.goodale2000-03-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1442 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified. A few format changes to get closer to standard.goodale2000-03-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1433 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A little bit of tidying.goodale2000-03-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1421 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Explicit cast.goodale2000-02-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1392 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updating GNU files to glibc 2.1.2.goodale2000-02-15
| | | | | | | | | | | | | | | Tidying up how they are included - now people should include cctk_GNU.h. This will allow us later to check what functions are available and maybe not compile the GNU stuff. NOTE: If you edit the GNU stuff please put a wapping great comment /* CCTK: Changed by <> on <> */ by the change and a note in the README. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1380 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved to include directoryallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1348 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Standardising function and structure namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1347 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Standardising function names and structuresallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1346 17b73243-c579-4c4c-a9d2-2d5706c11dac
* char -> const charallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1345 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing gnu filesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1344 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moving files to separate gnu directoryallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1343 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capitalising include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for negative parameters from Eric Schnetterallen1999-12-16
| | | | | | | | | Cactus/186 Also fix for closed ranges of parameters git-svn-id: http://svn.cactuscode.org/flesh/trunk@1200 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various changes to make sure there are function prototypes for things.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1179 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New cache alignment stuff.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1178 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_FortranString has to return the lenght of the string as CCTK_INT, not ↵lanfer1999-11-09
| | | | | | int because this gives pointer errors (on the T3E) git-svn-id: http://svn.cactuscode.org/flesh/trunk@1147 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a silly mistake I just committed. Thanks Ralph.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1131 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing various things pointed to by compiling with -Wall.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Collision chaining hash tables.goodale1999-10-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1115 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for an active handle in Util_GetHandle().tradke1999-10-27
| | | | | | | | The following strcmp() crashed if an already destroyed handle was passed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1113 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things pointed out by running Insure on the code.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A bugfix in creating anonymous timers.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1105 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added default return value for CCTK_mkdir (purify complaint)lanfer1999-10-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1095 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran string stuff on the T3E. Have introducedgoodale1999-10-22
| | | | | | | | | | | | | | | ONE_FORTRSTRING_PTR(arg) etc to get the pointer to a fortran string. Still needs testing on other architectures. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1084 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More updates to timer stuff.goodale1999-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | Now to get info from a timer, one must create a timer info function: info = CCTK_TimerCreateInfo(); Get the data CCTK_TimerGet(timer, info); Query the fields in the info structure, and then either query another timer with the same info structure, or destroy the info structure. CCTK_TimerDestroyInfo(info); The info structure contains the number of values, and an array of these values, along with header info, units, data types and values. I think this is a fairly complete interface, but if a better one can be found, this may change. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1083 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for new timer stuff.goodale1999-10-21
| | | | | | | | | | Currently have #if 0ed out all references to old timers in thorns and flesh to act as placeholders for new timer stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1079 17b73243-c579-4c4c-a9d2-2d5706c11dac