summaryrefslogtreecommitdiff
path: root/src/include
Commit message (Collapse)AuthorAge
...
* Add missing #include <stddef.h> statement.schnetter2004-12-29
| | | | | | | Move #include statements below include guards. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3948 17b73243-c579-4c4c-a9d2-2d5706c11dac
* += #defines for warning levels, as per Steve's suggestions in PR#1742jthorn2004-12-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3923 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub to add a processor-number to reduce to to thegoodale2004-10-19
| | | | | | | Global reduction api. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Patch from Yaakoub for missing prototypes.goodale2004-09-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* patch from Yaakoub to add new GA reduction API.goodale2004-08-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3858 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New reduction APIs - as done by Yaakoub.goodale2004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3829 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Functions completing the Cactus Timer API.swhite2004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3828 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add additional scheduler options "loop-local", "loop-singlemap",schnetter2004-07-31
| | | | | | | | "loop-level", "loop-global", and "loop-meta". This makes CallFunction loop over the corresponding modes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3812 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use new HAVE_CCTK_<datatype> macro names.tradke2004-06-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3795 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add option flag for 'local' mode.tradke2004-06-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* change #if CCTK_HAVE_REAL16 --> #ifdef CCTK_HAVE_REAL16jthorn2004-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and similarly for other such #if tests, to avoid warnings from icc: /afs/aei-potsdam.mpg.de/u/jthorn/cactus/Cactus/src/include/cctk_Types.h(32): rem ark #193: zero used for undefined preprocessing identifier #if CCTK_HAVE_REAL16 ^ /afs/aei-potsdam.mpg.de/u/jthorn/cactus/Cactus/src/include/cctk_Complex.h(46): r emark #193: zero used for undefined preprocessing identifier #if CCTK_HAVE_REAL16 ^ [N.b. Harbison & Steele: "C: A Reference Manual", section 3.5.1, states that #if undefined_identifier is equivalent to #if 0 , so so long as we define the symbols with nonzero values when we do define them, #if and #ifdef are equivalent here. But #ifdef is cleaner because * it avoids spurious compiler warnings such as the above * it follows the standard convention for feature-test macros (see, for example, the discussion in the first example of Harbison & Steele's section 3.5.3) and so reduces "programmer surprise" for future maintainence programmers] [Note also that this change is orthogonal to the current discussion on the developers mailing list of what the names of these feature-test macros should be.] git-svn-id: http://svn.cactuscode.org/flesh/trunk@3787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in macros names in my previous commit: HAVE_CCTK_REAL* should readtradke2004-06-20
| | | | | | | CCTK_HAVE_REAL*. Ditto for CCTK_INT*. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_REAL{8|16|32} fortran datatypes only if the correspondingtradke2004-06-20
| | | | | | | | CCTK_HAVE_REAL{8|16|32} macros are defined. Dito for CCTK_COMPLEX* datattypes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3776 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use '#if CCTK_HAVE_REAL*' rather than '#ifdef CCTK_REAL*'.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3775 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed old interpolator API code.tradke2004-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3771 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix indentation.schnetter2004-06-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3759 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the way how CCTK arguments are used in a following C function blocktradke2004-04-24
| | | | | | | | so that certain compilers don't generate compile-time warnings about "unused variable ...". git-svn-id: http://svn.cactuscode.org/flesh/trunk@3676 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Move group constants to cctk_Constants.h so that they are available toschnetter2004-04-17
| | | | | | | | | Fortran as well. Remove duplicate prototype. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3666 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Allow vector groups of scalars.schnetter2003-11-21
| | | | | | | | | | Allow vector groups with more than one declared variable. Much of this patch consists of removing special case code for scalars. Scalars are now almost everywhere treated as rank 0 arrays. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3465 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Allow comparison operators in accumulator expressions.schnetter2003-11-07
| | | | | | | Add the ! not operator to accumulator expressions. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3454 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change include mechanism for aliased functions in Fortran. One now has toschnetter2003-10-27
| | | | | | | | #include "cctk_Functions.h" and then use the macro DECLARE_CCTK_FUNCTIONS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use different numerical values for the #defined enum-like constants.schnetter2003-10-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3438 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Define CCTK_ALL_FACES for up to 7 directions only. This removes #ifschnetter2003-10-15
| | | | | | | | defined preprocessor statements, which apparently are not handled by the Cactus cpp. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include cctk_Faces.h automatically when "cctk.h" is included, for bothschnetter2003-10-13
| | | | | | | | | | Fortran and C. Also fix a bug in cctk_Faces.h, which used the non-existing macro CCTK_INTEGER_PRECISION. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Introduce the new Cactus variable type CCTK_INT1.schnetter2003-10-13
| | | | | | | Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix typo.schnetter2003-10-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* works with 2 byte integersrideout2003-08-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3383 17b73243-c579-4c4c-a9d2-2d5706c11dac
* renamejthorn2003-07-20
| | | | | | | | | | | | Util_TableSetFnPointer() --> Util_TableSetFPointer() Util_TableSetFnPointerArray() --> Util_TableSetFPointerArray() Util_TableGetFnPointer() --> Util_TableGetFPointer() Util_TableGetFnPointerArray() --> Util_TableGetFPointerArray() (and keep old names as aliases for backwards compatability) this is part of my fix for bug Cactus/1308 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3320 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New functions for querying the number of active timelevels for a group/variableallen2003-07-17
| | | | | | | | | | | | | | int CCTK_ActiveTimeLevels(const cGH *GH, const char *groupname); int CCTK_ActiveTimeLevelsGN(const cGH *GH, const char *groupname); int CCTK_ActiveTimeLevelsGI(const cGH *GH, int groupindex); int CCTK_ActiveTimeLevelsVN(const cGH *GH, const char *varname); int CCTK_ActiveTimeLevelsVI(const cGH *GH, int varindex); All are basically wrappers for CCTK_GroupStorageIncrease requesting no increase of storage. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3283 17b73243-c579-4c4c-a9d2-2d5706c11dac