summaryrefslogtreecommitdiff
path: root/src/include
Commit message (Collapse)AuthorAge
* Defining CCTK_ParameterSet() mask flags constants.tradke2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1585 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for cactus -x[n].goodale2000-04-18
| | | | | | | | | Cosmetic changes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1576 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed last vestiges of rfr.goodale2000-04-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1554 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Think there was a typo in the macro for removing rcsid warnings.allen2000-04-17
| | | | | | | | Also, at the moment cctk_Flesh.h has to be included in any file using the macro. This won't work for the thorns, perhaps it also needs to be added to cctk.h / git-svn-id: http://svn.cactuscode.org/flesh/trunk@1547 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing rfrTraverse, replaced by CCTK_ScheduleTraverseallen2000-04-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1544 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macro CCTK_FILEVERSION(some string) to get rid of warning about rcsidgoodale2000-04-15
| | | | | | | | | being unused. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1540 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added C version of CCTK_VInfo.tradke2000-04-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1530 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing prototypeallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1522 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Additions for constant sized arraysallen2000-04-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1521 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New special time bins $ENTRY and $EXIT for each schedule entry point. Thesegoodale2000-04-04
| | | | | | | | | | | | | | are functions returning ints and taking a cGH. They can be used for things which do profiling, etc. These are automatically traversed before and after a schedule entry point. Treat as experimental for the moment. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1509 17b73243-c579-4c4c-a9d2-2d5706c11dac
* RETURN_TYPE of ArrayGroupSizeB() set to 'const int *'.tradke2000-03-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1497 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Let CCTK_ArrayGroupSize() and CCTK_ArrayGroupSizeI() return const pointerstradke2000-03-27
| | | | | | | since these refer to static information. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1494 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototypes for overloadable main functionsallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1489 17b73243-c579-4c4c-a9d2-2d5706c11dac
* defining a default CCTK_Exit, that gets overloaded when compiling with PUGH, eg.lanfer2000-03-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1473 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed interface for CCTK_ParameterWalk() to return both a canonical nametradke2000-03-14
| | | | | | | | | | | | | | | | | | | | | | | and a pointer the parameter properties. Replaced calls to CCTK_ParameterList() by CCTK_ParameterWalk() in CommandLine.c. CCTK_ParameterList() is gone now. Inserted a line "Parameters of thorn 'BLA' providing implementation 'LABER':" in the -O output. Should be easily filtered out for automatic postprocessing. Option -o now prints out both "thorn::param" and "impl::param" as full names for global/restricted parameters. #ifdef'd out ParameterPTreeNodeAdd() in Parameters.c to fix a compiler warning (unused static function). Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1470 17b73243-c579-4c4c-a9d2-2d5706c11dac
* registration of routines at CCTK_SHUTDOWNlanfer2000-03-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1462 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Memory ticketslanfer2000-03-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1461 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New routines to store group and variable numbers in hash tables associatedgoodale2000-03-09
| | | | | | | | | with their names. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1453 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Made string arguments const. Some cosmetic changes.goodale2000-03-09
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1452 17b73243-c579-4c4c-a9d2-2d5706c11dac
* forgot to rename malloc/free macroslanfer2000-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1447 17b73243-c579-4c4c-a9d2-2d5706c11dac
* memtrace renaminglanfer2000-03-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1443 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-03-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1437 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-03-07
| | | | | | | | | | | | | | | | | Added protection for the two static arrays in this file. Now only defined if #define NEED_PARAMETER_SCOPE_STRINGS #define NEED_PARAMETER_TYPE_STRINGS are defined. Still not an ideal solution. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1436 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed functions to be CCTK rather than CCTKi. Fixed up type casts.goodale2000-03-07
| | | | | | | | | Made closer to coding guidelines. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1431 17b73243-c579-4c4c-a9d2-2d5706c11dac
* prototypes for MemAlloclanfer2000-03-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1427 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_FREE/CCTK_MALLOClanfer2000-03-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1426 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Declare cctk functions as externalallen2000-03-02
| | | | | | | | | Cactus/243 Contribution from Eric Schnetter git-svn-id: http://svn.cactuscode.org/flesh/trunk@1405 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stagger functions renamed to a more consistent schemelanfer2000-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1401 17b73243-c579-4c4c-a9d2-2d5706c11dac
* define CCTK_NSTAGlanfer2000-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1400 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_ParameterWalk() allocates memory for its return value and thus shouldtradke2000-02-21
| | | | | | | have a return type of 'char *' instead of 'const char *'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1399 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some extra protection in some macros as noticed by Erik.goodale2000-02-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1389 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Forgot to remove this file earlier. Now people shouldgoodale2000-02-15
| | | | | | | | | #include "cctk_GNU.h" Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1382 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updating GNU files to glibc 2.1.2.goodale2000-02-15
| | | | | | | | | | | | | | | Tidying up how they are included - now people should include cctk_GNU.h. This will allow us later to check what functions are available and maybe not compile the GNU stuff. NOTE: If you edit the GNU stuff please put a wapping great comment /* CCTK: Changed by <> on <> */ by the change and a note in the README. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1380 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Formatting change.goodale2000-02-11
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1378 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a prototype for CCTK_CallFunction.goodale2000-02-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1370 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes to add #ifndefsallen2000-02-05
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1366 17b73243-c579-4c4c-a9d2-2d5706c11dac
* void -> intallen2000-02-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1363 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This has been renamed to cctk_Parameter.h , this is a bad name becauseallen2000-02-03
| | | | | | | | it is similar to cctk_Parameters.h, but none of the other include files use Functions. And there are structures in there git-svn-id: http://svn.cactuscode.org/flesh/trunk@1357 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed prototypeallen2000-02-03
| | | | | | | Cactus/220 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1356 17b73243-c579-4c4c-a9d2-2d5706c11dac
* standardizing names ... you will need to do a gmake <config>-clean beforeallen2000-02-03
| | | | | | | recompiling. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1342 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed old functions returning lists from cctki_ActiveThorns.h,tradke2000-02-02
| | | | | | | added prototypes for new interface to cctki_ActiveThorns.h git-svn-id: http://svn.cactuscode.org/flesh/trunk@1337 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changedtradke2000-02-01
| | | | | | | | | | | CCTK_ImpFromVarI CCTK_VarName CCTK_VarTypeName to return a const pointer which shouldn't be freed after usage. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1332 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Function renamings:tradke2000-02-01
| | | | | | | | ParameterGet -> CCTK_ParameterGet ParameterValString -> CCTK_ParameterValString git-svn-id: http://svn.cactuscode.org/flesh/trunk@1330 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added specification for steerable parameters in param.cclallen2000-02-01
| | | | | | | | | | | | | | | | | | | | | | | Notation REAL paramname "Description" [STEERABLE = never|always|recover] { .... } ",,," Default value is never The constants CCTK_STEERABLE_NEVER CCTK_STEERABLE_ALWAYS CCTK_STEERABLE_RECOVER are now there to use to check the type of steering available for a parameter. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1329 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now, subject to review, you can putgoodale2000-01-28
| | | | | | | | | | | | | | | | | | OPTIONS:... in a schedule block to pass miscellaneous options to the schedular. Currently the only option is "Global" which sets a flag on the FunctionData structure passed to the call function. This option only makes sense for a scheduled function, not a schedule group, though this may change in the future. It is used to indicate to the calling function that this function should only be called once as it performs global operations. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1325 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New header file for stuff in CactusSync.cgoodale2000-01-28
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1320 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Addedgoodale2000-01-27
| | | | | | | | | | | | | | | | | | | | SYNC[HRONISE]: <group list> as an option to the schedule.ccl. This will be used to tell the flesh or the driver to synchronise these groups after the function has been executed. Tom NOTE: You will need to do a gmake <config>-rebuild after this update as the bindings stuff has changed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1318 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the mechanism for allowing drivers to specify a function to begoodale2000-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | called at the bottm of a schedule traverse, and changed the flesh to use the new calls. rfrTraverse is now obsolete and will be removed soon. Drivers may now call int CCTK_RegisterGHExtensionScheduleTraverseGH(int handle, int (*func)(cGH *, const char *)) to register a ScheduleTraverse function. This is precisely equivalent to the deprecated CCTK_RegisterGHExtensionrfrTraverseGH except the registered function now takes a string and not a constant. The registered function should then fill out the cGH as per normal, and call int CCTK_ScheduleTraverse(const char *where, void *GH, int (*CallFunction)(void *, cFunctionData *, void *)) with the string and GH passed in, and either NULL or a function which takes a function pointer, a cFunctionData data structure, and a cGH. This function, in turn, may call int CCTK_CallFunction(void *function, cFunctionData *fdata, void *data) with these arguments, or may call the function in some other way if it desires. This allows a driver to loop over all sub-grids at a particular level filling out the cGH at this level of the schedule tree rather than at the top, which was the only option available before. Unigrid drivers should probably still fill out at the top and pass NULL down as it's more efficient to fill out the cGH only once, but AMR or multi-block/patch drivers can now use this mechanism. The old CCTK_rfrTraverse routine has similarly been replaced by int CCTK_Traverse(cGH *GH, const char *where) which loops over all GH extensions calling their registered ScheduleTraverseGH routines. Tom NB these names may change at the next naming meeting, but the functionality should remain. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1317 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a couple of missing prototypes.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1313 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac