summaryrefslogtreecommitdiff
path: root/src/include/cctk_GHExtensions.h
Commit message (Collapse)AuthorAge
* Pass 'const cGH *' into CCTK_GHExtension().tradke2001-05-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2194 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_GHExtension() shouldn't return 'const void *' because sometimestradke2000-11-23
| | | | | | | you want to change a GH extension. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1900 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototype for CCTK_GHExtension().tradke2000-10-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1863 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added prototype for CCTK_UnregisterGHExtension().tradke2000-05-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1643 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
* 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
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | | | | and some tidying git-svn-id: http://svn.cactuscode.org/flesh/trunk@1245 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTKi_rfrTraverse to CCTK_rfrTraverse, as it needs to be callable ↵goodale1999-09-14
| | | | | | | | | from drivers. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@907 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New include file namesallen1999-07-30
git-svn-id: http://svn.cactuscode.org/flesh/trunk@833 17b73243-c579-4c4c-a9d2-2d5706c11dac