summaryrefslogtreecommitdiff
path: root/src/util/Misc.c
Commit message (Collapse)AuthorAge
...
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 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
* 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
* 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
* 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
* 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 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