summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* bug fixlanfer2000-03-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1409 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
* Explicit cast.goodale2000-02-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1392 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
* Memory allocation error pointed out by Erik.goodale2000-02-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1388 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Hopefully fixed bug whereby all startup routines were called as ifgoodale2000-02-16
| | | | | | | | | | | | they were normal functions, i.e. with arguments and calling Fortran wrappers for Fortran functions. This should fix Cactus/231. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1385 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added #include "cctk_Config.h" to getopt.c and regex.c, andgoodale2000-02-15
| | | | | | | | | | #define REGEX_MALLOC to regex.c to enable compilation under NT. Updated the README to mention these changes. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1383 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
* convlevel starts at 0allen2000-02-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1364 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
* Replacing CCTK_WARN with CCTK_Warnallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1354 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added gnu directoryallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1353 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function and structure namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1352 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_GroupDimIallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1351 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Tidying include filesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1350 17b73243-c579-4c4c-a9d2-2d5706c11dac
* gnu files ... need to do a cvs update -d to get theseallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1349 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved to include directoryallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1348 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Standardising function and structure namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1347 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Standardising function names and structuresallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1346 17b73243-c579-4c4c-a9d2-2d5706c11dac
* char -> const charallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1345 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing gnu filesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1344 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moving files to separate gnu directoryallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1343 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
* #include to remove compiler warning.goodale2000-02-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1340 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
* Replaced CCTKi_ThornList() by CCTK_NumCompiledThorns() and CCTK_CompiledThorn().tradke2000-02-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1336 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed routines that allocated and returned a list of thorns or ↵tradke2000-02-02
| | | | | | | | | | | | | | | | | | | | | implementations. Instead you can use now: int CCTK_NumCompiledThorns(void); int CCTK_NumCompiledImplementations(void); const char *CCTK_CompiledThorn(int index); const char *CCTK_CompiledImplementation(int index); Will probably add also CCTK_CompiledThornWalk() and CCTK_CompiledImplementationWalk() later. Thomas git-svn-id: http://svn.cactuscode.org/flesh/trunk@1335 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Got rid of a quick hack I put in last year.goodale2000-02-02
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1334 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
* Now synchronises variable groups on exit from a schedule group.goodale2000-01-28
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1323 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now if the calling function used to call a function doesn't return true,goodale2000-01-28
| | | | | | | | | the flesh will synchronise the groups in that function's sync-list. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1322 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new functiongoodale2000-01-28
| | | | | | | | | | | | | | | | | int CCTK_SyncGroupsI(cGH *GH, int n_groups, int *groups) which synchronises a list of groups. Added some more grdoc. Added #include of new header for this file. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1321 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
* Removed a redundant function.goodale2000-01-28
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1319 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 bit more grdoc, made case independent.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1315 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor change.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1314 17b73243-c579-4c4c-a9d2-2d5706c11dac