summaryrefslogtreecommitdiff
path: root/src/main/GHExtensions.c
Commit message (Collapse)AuthorAge
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* In CCTKi_ScheduleTraverseGHExtensions(): call CCTK_ScheduleTraverse()tradke2001-07-04
| | | | | | | | if no GH extensions were registered. This allows evolution routines to be called even if no driver was activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2270 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass 'const cGH *' into CCTK_GHExtension().tradke2001-05-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2194 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Error checkingallen2001-04-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2123 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 new routinetradke2000-10-08
| | | | | | | | | | const void *CCTK_GHExtension(cGH *GH, const char *name) which returns the pointer to a GH extension or NULL if nothing was registered for 'name'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1862 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, style-guidelines, ...goodale2000-10-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't malloc zero bytes when there are no GH extensions.goodale2000-05-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Skip already unregistered GH extensions when looping over all handles.tradke2000-05-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1648 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New routine CCTK_UnregisterGHExtension() which can be called by terminationtradke2000-05-10
| | | | | | | | routines. Use CCTK_VWarn() whereever possible. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1642 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for Fortran callsallen2000-05-10
| | | | | | | CCTK_Warn -> CCTK_VWarn where appropriate git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 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
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidying CCTK_Warnsallen2000-01-25
| | | | | | | CCTK function name changes git-svn-id: http://svn.cactuscode.org/flesh/trunk@1295 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
* Print out registered extensions and handles in debug modeallen1999-11-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1153 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added cctk.h, since I have removed it from cctk_Flesh.h ... stillallen1999-10-14
| | | | | | | need to sort the include files out somewhat git-svn-id: http://svn.cactuscode.org/flesh/trunk@1032 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
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More subroutine name changesallen1999-07-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@778 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing some routine names.allen1999-07-24
| | | | | | | | | Internal functions are CCTKi_ Utility functions are Util_ git-svn-id: http://svn.cactuscode.org/flesh/trunk@777 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New names for many of the Group functions which are used by infrastructureallen1999-07-08
| | | | | | | | | thorns and the flesh. The names should be more consistent now. You might want to hold of from this update for a little while until all the thorn changes are in. git-svn-id: http://svn.cactuscode.org/flesh/trunk@688 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Level 4 warnings for unregistered GH Extensions. Should probablyallen1999-07-05
| | | | | | | be even lower git-svn-id: http://svn.cactuscode.org/flesh/trunk@664 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Compiler warning fixallen1999-06-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved GHExtensions from the comm directory to the main directory.goodale1999-02-21
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@323 17b73243-c579-4c4c-a9d2-2d5706c11dac