summaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAge
* If there is no = before the end of the line discards the tokensgoodale1999-07-07
| | | | | | | | | | | | collected so far. This stops it continuing collecting the name of a parameter across newlines. Note that this bug will also be there in Cactus 3.0. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@686 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updated CCTK_SetLogical to use CCTK_INT.goodale1999-07-06
| | | | | | | | | | Moved a ONE_FORTSTRING_ARG to end of variable declarations so that it can contain non-declarations. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@683 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix to SetDoubleInRange and SetIntInRange so compiling on the T3E works.allen1999-07-05
| | | | | | | | At the moment it won't work for real or int parameters which aren't defined as CCTK_INT or CCTK_REAL in param.ccl git-svn-id: http://svn.cactuscode.org/flesh/trunk@654 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes for the ActiveThorns.goodale1999-07-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug in tree creation.goodale1999-07-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@647 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the ActiveThorns parameter.goodale1999-07-04
| | | | | | | | | | | | | | | | Now need to specify ActiveThorns before any other parameters to list those thorns which are active. No parameters or startup or rfr routines are available from inactive thorns. Note that this isn't quite working yet but I hope to track it down by morning. In the meantime either don't update or be prepared for things to be slightly broken. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Need to include cctk.h to get CCTK_WARN macros.allen1999-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@622 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_Warns t CCTK_WARN so that I can try and pass thorught theallen1999-07-03
| | | | | | | | | | | | | | | | | | | | | | | | line number and file name to the Warn message. This hass problems: 1) I really need to include cctk.h then (for some reason) in WarnLevel.h, but then I guess the Fortran name for CCTK_Warn is CCTK_WARN so it doesn't much care for me having a macro for CCTK_WARN. 2) Now I need three fortran strings to be passed into C. This works at the moment on Linux, but not on other machines, so you may need to run with warnings off for a little while. 3) Fortran doesn't get the file name, because (?) it is actually something from a pipe which gets preprocessed and not the file. I have no idea how to fix this. I may just scrap all this, but I want to persevere a bit Oh, there is a new parameter cctk_full_warnings (default yes for now) which gives the old style warnings with no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@618 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added FMODIFIER to Fortran subroutine definitions.goodale1999-06-24
| | | | | | | | | | FMODIFIER is now in config.h, so you may need to do a <conf>-reconfig after updating. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@568 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reinstating the #ifdefed out regular expression stuff now that the gnugoodale1999-06-07
| | | | | | | | | regex stuff is in the source. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@548 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Commented out some Windows specific stuff, this should go into an ifdef at somegoodale1999-06-03
| | | | | | | | | point very soon... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@545 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes from Joan and his NT nightmares.jmasso1999-06-03
| | | | | | | Please try this on a reasonable OS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the GNU extended regalar expression library sources. These files aregoodale1999-05-26
| | | | | | | | | | | | | | | as distributed with the regex-0.12 package, except for prepending them with gnu_ and a couple of clearly marked changes, plus the adddition of grdoc file headers. This should guarantee the same behaviour and presence of regular expressions on all platforms, especially those which don't fully support POSIX regular expresssions. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@533 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a debugging statement for CCTK_NullTerminateStringallen1999-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@521 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to allocate memory for a Cactus timer.goodale1999-05-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@517 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_WARN to CCTK_Warnallen1999-04-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@499 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Warn gets extra argumentallen1999-04-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@496 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_StringInRegexList and CCTK_RegexMatch subroutines whichgoodale1999-04-16
| | | | | | | | | | | use the POSIX.2 regular expression functions regcomp and regexec to do regular expression matching on strings. These functions seem to be available and operating in the same way on all platforms. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@485 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed the CCTK_PrintString routine after Tom pointed out I was missing aallen1999-04-06
| | | | | | | pointer git-svn-id: http://svn.cactuscode.org/flesh/trunk@443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Finished error checking in CCTK_Equalsallen1999-04-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check that the first string isn't null in CCTK_Equalsallen1999-04-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Addedallen1999-04-02
| | | | | | | | | | | | | | | | | | | void CCTK_PrintString(char *data) { printf("%s",data); } void FORTRAN_NAME(CCTK_PrintString)(char *arg1) { CCTK_PrintString(arg1); } with the idea that you could use it to print the vlaue of a string parameter from the pointer that you have in fortran. But it doesn't work. Maybe someone can tell me why? git-svn-id: http://svn.cactuscode.org/flesh/trunk@429 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Testallen1999-02-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@364 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed first argument to fortran version of CCTK_Equals to be a char **goodale1999-02-20
| | | | | | | | | since Fortran always passes by reference. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@321 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added warning if a logical is not set in CCTK_SetLogicalallen1999-02-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@311 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed FortranString stuff which is now in a header fileallen1999-02-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@301 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Fortran interface for CCTK_Equals. Defined macros for usingallen1999-02-14
| | | | | | | | when passing one or two fortran strings into routines (two strings since I originally forgot that there was really only one string) git-svn-id: http://svn.cactuscode.org/flesh/trunk@265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a function CCTK_GetHandleName to get the name associated with a handle.goodale1999-02-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@192 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed char * to const char * in CCTK_NewHandle.goodale1999-02-02
| | | | | | | | | Added StoreHandledData.c to make.code.defn. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@171 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Finished and tested the handled data routines.goodale1999-02-02
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@169 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Started adding a generic handle storage suite. Basically nicking the stuffgoodale1999-02-01
| | | | | | | | | I put into HLL. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@168 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the getopts files.goodale1999-01-29
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@139 17b73243-c579-4c4c-a9d2-2d5706c11dac
* getopt_long and getopt_long_onlygoodale1999-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@138 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GNU command line option parsing.goodale1999-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@131 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added functions to set tha values of ints, doubles, keywords, strings, etcgoodale1999-01-21
| | | | | | | | | as required by the bindings. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@98 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed minor bug in CCTK_Equals.goodale1999-01-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@97 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Misc.c, which contains miscellaneuous routines, such as CCTK_Equals...goodale1999-01-20
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@87 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now make will recurse into subdirectories of a thorn.goodale1999-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In your make.code.defn file put lines SRCS = <sources in this directory> SUBDIRS= <all subdirectories - e.g. what find . -type d would give you> then in each subdirectory put a make.code.defn containing SRCS = <sources in this directory> (N.B. you cannot currently put a SUBDIRS line here) along with make.code.deps files in all the directories. Make will then go into the relevant subdirectory and make the object files there before updating the library file. The first time it does this you will get errors of the form cannot find <subdir-name>/make.identity you should ignore these errors, as the make system then creates the files. If I find a way to do this without the errors, I'll be happy 8-) The files are used to keep track of the subdirectory filenames. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@66 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a missing #include line.goodale1999-01-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@58 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine to parse a parameter file and pass the resulting tokens togoodale1999-01-12
| | | | | | | | | | | an arbitrary function. Nicked from Paul's Cactus parser. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@46 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Commented out test #define - otherwise ended up with two maingoodale1999-01-08
| | | | | | | | | programs ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@38 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved CactusTimers.c from include to utils directory.goodale1998-10-14
| | | | | | | Changed the type for SetupGH. git-svn-id: http://svn.cactuscode.org/flesh/trunk@20 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Started on default main routinesgoodale1998-10-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@19 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Keyed data routines.goodale1998-09-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@18 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Named data storage routines.goodale1998-09-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@17 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a function to create a keyd function array.goodale1998-09-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@12 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Source file for keyed function stuff.goodale1998-09-29
git-svn-id: http://svn.cactuscode.org/flesh/trunk@9 17b73243-c579-4c4c-a9d2-2d5706c11dac