summaryrefslogtreecommitdiff
path: root/src/include
Commit message (Collapse)AuthorAge
* 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
* Deprecated CCTK_NumTimeLevels and all variants.allen2003-07-16
| | | | | | | | | | | | | | | | Replaced with new names int CCTK_MaxTimeLevels(const char *group); int CCTK_MaxTimeLevelsVN(const char *var); int CCTK_MaxTimeLevelsVI(int var); int CCTK_MaxTimeLevelsGN(const char *group); int CCTK_MaxTimeLevelsGI(int group); This is because we are adding CCTK_ActiveTimeLevels and also the names make more sense. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3281 17b73243-c579-4c4c-a9d2-2d5706c11dac
* prototypes for CCTK_NumTimeLevelsI and CCTK_NumTimeLevelsrideout2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3280 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed usused routines CCTKi_ExpectError() and CCTKi_ExpectOK().tradke2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3278 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor fixes for Cactus/1117allen2003-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3277 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a const qualifier to the cGH argument of all CCTK_SyncGroup*() fleshtradke2003-07-15
| | | | | | | routines. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3275 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a const qualifier to the 'cGH *' argument of the following functionstradke2003-07-14
| | | | | | | | | | | | | (and their default overloadables): - CCTK_SyncGroup - CCTK_EnableGroupCommI / CCTK_DisableGroupCommI - CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI - CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease - CCTK_CoordRegisterRange / CCTK_CoordRegisterRangePhysIndex You should also update all driver thorns (eg. PUGH) now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3274 17b73243-c579-4c4c-a9d2-2d5706c11dac
* slightly expand comments as to what the error codesjthorn2003-06-27
| | | | | | | | | | | | CCTK_ERROR_INTERP_POINT_OUTSIDE CCTK_ERROR_INTERP_POINT_X_RANGE CCTK_ERROR_INTERP_POINT_EXCISED mean: add text that they can also mean that an interpolation point is too close to the outside / excised region git-svn-id: http://svn.cactuscode.org/flesh/trunk@3244 17b73243-c579-4c4c-a9d2-2d5706c11dac
* cGH.h: Add three new fields cctk_timefac, cctk_levoff, andschnetter2003-06-17
| | | | | | | | | | | | | cctk_levoffdenom to the cGH structure that simplify handling coordinates in mesh refinement settings. cctk.h: Pass the new fields to Fortran routines. Add a new macro CCTK_ORIGIN_SPACE to simplify using these fields. CactusDefaultComm.c: Initialise the new fields. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3240 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add support for redirection of standard error.rideout2003-05-15
| | | | | | | | | Use -r[o|e|oe|eo] or -redirect=[o|e|oe|eo]. Document verbose option on -describe-all-parameters. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3218 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Set CCTK_ALL_FACES to 2^30-1, so that it sets the lowest 30 bits torideout2003-05-13
| | | | | | | | '1'. The top two bits are difficult (impossible?) to use because Fortran does not have unsigned ints. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3214 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added level mode:goodale2003-05-09
| | | | | | | | | | | a scheduled routine can have options associated with it. LEVEL mode is where the routine should only be called once for any set of sub-grids with the same cctk_levfac numbers. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3209 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added OpenBSD-ish Util_strlcpy and Util_strlcat functions submitted by Jonathongoodale2003-04-22
| | | | | | | | | Thornburg. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3196 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Protect the table API C prototype declarations by '#ifdef CCODE' so that thetradke2003-03-11
| | | | | | | | header file can also be included in fortran code now (to use the #define's). Substituted tabs by spaces. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new error code CCTK_ERROR_INTERP_GHOST_SIZE_TOO_SMALL.tradke2003-03-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3166 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added const qualifiers to all the pointer function arguments in the flesh'stradke2003-03-10
| | | | | | | | reduction API which refer to input-only arrays and structures. This fixes former problems with passing a 'const cGH *' pointer to this API. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3164 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now scheduling a group AS preserves the identity of the group, allowinggoodale2003-02-17
| | | | | | | | | | | | | | | | people to schedule in the real name and then schedule many aliases of the group in the same schedule bin or parent group. Note that you need to do a make <config>-rebuild on your configurations after updating with this change. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3147 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Macros for specifying sets of faces of the computational domain,rideout2003-02-13
| | | | | | | | e.g. for use with boundary conditions. For now it contains only CCTK_ALL_FACES. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3140 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed routine CCTK_NULLPointer() into CCTK_NullPointer().tradke2003-02-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3136 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added C wrapper for fortran function CCTK_NULLPointer() which takes notradke2003-02-12
| | | | | | | | arguments and returns a C-style NULL pointer. This is necessary for initializing CCTK_POINTER variables in fortran code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3135 17b73243-c579-4c4c-a9d2-2d5706c11dac
* (from Jonathan Thornburg)tradke2003-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new error code #define CCTK_ERROR_INTERP_POINT_EXCISED in anticipation of future support for excision * add new error code #define CCTK_ERROR_INTERP_POINT_OUTSIDE as a synomym for CCTK_ERROR_INTERP_POINT_X_RANGE (keeping the old one for backwards compatability) since the old name suggested that this had something to do with the X coordinate * renumber error codes to a more logical order The resulting set of error codes is this: /* * error codes for CCTK_InterpLocalUniform() */ /* the grid is too small for the selected interpolation molecule */ #define CCTK_ERROR_INTERP_GRID_TOO_TINY (-1000) /* an interpolation point is outside the input grid */ #define CCTK_ERROR_INTERP_POINT_OUTSIDE (-1001) /* ... old code for backwards compatability */ #define CCTK_ERROR_INTERP_POINT_X_RANGE (-1001) /* an interpolation point is in an excised region */ #define CCTK_ERROR_INTERP_POINT_EXCISED (-1002) git-svn-id: http://svn.cactuscode.org/flesh/trunk@3116 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the order of function parameters in CCTK_InterpGridArrays().tradke2003-01-22
| | | | | | | Now it is consistent with the order used in CCTK_InterpLocalUniform(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3094 17b73243-c579-4c4c-a9d2-2d5706c11dac