summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* drop -ansi -pedanticjthorn2004-04-15
| | | | | | | | from gcc options because (as of C89) those forbid long long (i.e. CCTK_INT8) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Provide Fortran wrappers for some flesh functions that return a string.schnetter2004-04-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3662 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a function Util_StrMemCmpi that compares a C and a Fortran stringschnetter2004-04-12
| | | | | | | without copying the Fortran string. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3661 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a C version of the function CCTK_FortranString. Useschnetter2004-04-12
| | | | | | | *_FORTSTRING_LEN to access the string length. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3660 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add macros *_FORTSTRING_LEN that allow C code to access the stringschnetter2004-04-12
| | | | | | | length. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3659 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Flush stdout before printing to stderr.schnetter2004-04-06
| | | | | | | | | Don't flush stderr twice. Call CCTK_Abort instead of exit. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3648 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Create timers with unique names by using an integer serial number.schnetter2004-04-06
| | | | | | | | | | | This removes spurious timer warnings. Check malloc return value. Change message from "[...] at [group]" to "[...] in [group]". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3646 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change ".eq. 1" to ".ne. 0" for CCTK_EQUALS, because this is what Cschnetter2004-04-04
| | | | | | | also does. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3645 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check malloc return values more carefully: malloc(0)==0 is not anschnetter2004-04-04
| | | | | | | | | | error. CCTKi_Extract: Ensure dimension>=0, and do not access the array when dimension==0. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3644 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check malloc return valueschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3643 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Complete list of error codes for CCTK_FirstVarIndexschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Reformat commentschnetter2004-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3641 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The preprocessor on the Cray-X1 put spaces in odd places when expandingjshalf2004-04-02
| | | | | | | | | the CCTK_EQUALS macro - so added spaces in the correct places. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3637 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove empty filesschnetter2004-04-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3636 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add CVS headerschnetter2004-04-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3635 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed parsing of vector groups in CCTK_TraverseString().tradke2004-04-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3634 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define the type CCTK_FPOINTER also in Fortran.schnetter2004-03-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3625 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed erroneous line continuation backslash in last line oftradke2004-03-31
| | | | | | | | | | _DECLARE_CCTK_FARGUMENTS macro. This fixes a problem with the system cpp on IA64 which generated wrong preprocessed fortran code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3624 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add comment explaining last commit :)jthorn2004-03-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3604 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not report an error when allocating 0-sized arrays on certainschnetter2004-03-26
| | | | | | | systems. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3603 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put macros on one line so that Cactus CPP can deal with themallen2004-03-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3593 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace #if defined () so that the Cactus CPP will work with flesh.allen2004-03-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3592 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Option strings parsed in CCTK_TraverseString() should now be enclosed in curlytradke2004-03-13
| | | | | | | | | | brackets. A level-1 warning will be issued if the old-style square bracket notation is used. This closes PR CactusBase/1615: "Vector group variable namesclash with I/O options". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3589 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the correct macros to determine which CCTK_* types are defined.schnetter2004-03-08
| | | | | | | Fix wrong prototype. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use the correct macros to determine which CCTK_* types are defined.schnetter2004-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3584 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare and define the cctk_convfac member of the cGH structure inschnetter2004-03-03
| | | | | | | CCTK_ARGUMENTS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3582 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add new scheduling options "meta" and "singlemap" for Carpet.schnetter2004-02-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3575 17b73243-c579-4c4c-a9d2-2d5706c11dac
* When stripping the directory part off the parameter file name, do notschnetter2004-02-06
| | | | | | | | forget to also strip the "/" that separates the directory name and the file name. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3571 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add cGH entry for the convergence factor.schnetter2004-02-06
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3567 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved the F90 modules into a new thorn "F90".goodale2004-02-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3566 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add entry "tagstable" to the cGroup structure.schnetter2004-02-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3565 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix typo in comment.schnetter2004-01-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3558 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allows scheduling in the analysis bin without any triggers. Thisschnetter2004-01-21
| | | | | | | executes the scheduled item always. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3552 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Comment out a routine with a really long nameschnetter2004-01-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3544 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed CCTK_CoordLocalRange() to calculate the local ranges fromtradke2004-01-20
| | | | | | | | the registered coordinate's lower and upper bounds (rather than using GH->cctk_[ul]bnd). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use inline functions instead of #defines for CCTK_GFINDEX?D if availableschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3536 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add grdoc headersschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3534 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove empty fileschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3530 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print shutdown message before shutting down MPI.schnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3528 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add (incomplete) Fortran 90 bindings for the flesh functions.schnetter2004-01-19
| | | | | | | Also, detect Fortran 90 inter-module dependencies automatically. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3524 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set the preprocessor flag F90CODE for Fortran 90 source files.schnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3521 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define the type CCTK_POINTER_TO_CONST in Fortran as well.schnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3520 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix the return values of CactusDefaultGroupStorage{In,De}crease. Theyschnetter2004-01-16
| | | | | | | | | cannot rely on CCTK_{En,Dis}ableGroupStorage, becuase those just return a flag. Explicltly call CCTK_QueryGroupStorageI and CCTK_NumTimeLevelsI. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* for the functionjthorn2004-01-16
| | | | | | | | | | | | | | int Util_DoubleInRange(double inval, const char *range) move the text Valid ranges are of the form start:end:step possibly preceeded by a [ or ( and ended by a ) or ] to indicate closure. The end and step are optional. A * can also be used to indicate any value. from an internal comment up into the header comment, since it describes part of this function's caller-visible semantics. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3514 17b73243-c579-4c4c-a9d2-2d5706c11dac
* add/clarify comments injthorn2004-01-16
| | | | | | | static int ParameterSetReal (t_param *param, const char *value) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3513 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix a wrong header comment forjthorn2004-01-16
| | | | | | | static int ParameterSetSimple (t_param *param, const char *value) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3512 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix memory leak in CactusDefaultGroupStorageDecreaseschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3511 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_{En,Dis}ableGroupStorage return not the number of time levels,schnetter2004-01-16
| | | | | | | | | | | | but only a flag. The default GroupStorage{In,De}crease routines have to explicitly convert the flag. Also only enable group storage if more than 0 time levels were requested. This makes the pattern "enable 0 time levels in order to find the number of active time levels" work. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3510 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix typoschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3508 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Print long int value with %ld instead of converting it to intschnetter2004-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3507 17b73243-c579-4c4c-a9d2-2d5706c11dac