summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAge
...
* 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
* void -> intallen2000-02-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1363 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
* 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
* 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
* 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
* 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
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest stuff for the scheduling call function.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1311 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more stuff for the calling function things.goodale2000-01-27
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1310 17b73243-c579-4c4c-a9d2-2d5706c11dac
* cctk_parameters -> cctk_Parametersallen2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1307 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added CCTK_ to ParameterWalklanfer2000-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1305 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
* Tidying CCTK_Warnsallen2000-01-25
| | | | | | | CCTK function name changes git-svn-id: http://svn.cactuscode.org/flesh/trunk@1295 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding routines for handling ghostzones and changing names, and movingallen2000-01-25
| | | | | | | a stagger routine git-svn-id: http://svn.cactuscode.org/flesh/trunk@1294 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding the ArrayGroupSize wrappers and changing namesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1293 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Function name changesallen2000-01-25
| | | | | | | Include file tidying git-svn-id: http://svn.cactuscode.org/flesh/trunk@1291 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed void returns to intsallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1290 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding RECOVER_VARIABLES and RECOVER_PARAMETERSallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1289 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes towards having the call function passed in from outside.goodale2000-01-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1282 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing Functions.c and related files. This is probably the wronggoodale2000-01-23
| | | | | | | | | approach for what I wanted to do, but may be resurrected at some point. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1281 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the function registration to use pointers rather than handles.goodale2000-01-23
| | | | | | | | | Added a file for externally visable stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1280 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function registration stuff.goodale2000-01-21
| | | | | | | | | | | | | Basically can register functions which return void CCTK_INT or CCTK_REAL and take up to CCTK_MAX_ARGS (currently 255) void * arguments. The CCTK_FunctionCall function can then be used to call this function, timing its execution. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1279 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Addedtradke2000-01-20
| | | | | | | | | | | char *ParameterValString (const char *param_name, const char *thorn) which returns the string representation of a parameter's value. Used for checkpointing/recovery. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1276 17b73243-c579-4c4c-a9d2-2d5706c11dac
* the directional staggertypes are F aware, meaning the resulting type can be ↵lanfer2000-01-19
| | | | | | plugged into the arrays without further index mangling git-svn-id: http://svn.cactuscode.org/flesh/trunk@1275 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replacing CCTK_WARN with CCTK_Warnallen2000-01-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1271 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replacing CCTK_WARN with CCTK_Warnallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1268 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capitalising include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* moving stagger functions outlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1260 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added include string.h (needed on dec)lanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1259 17b73243-c579-4c4c-a9d2-2d5706c11dac
* stagger supportlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1256 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New specification for CCTK_GroupData after Tom pointed out to me thatallen2000-01-13
| | | | | | | | | | | | | | | | | | returning a pointer for a structure means that thorn programmers have to remember to free the pointer. Now the specification is int ierr CCTK_GroupData(int group_index, cGroup *pgroup) So that it can be called via cGroup pg; CCTK_GroupData(group_index, &pg); and noone needs to remember to free anything. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1250 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* forgot some debug statementslanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1242 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering: staggercode functions addedlanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1238 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding USE_CCTK_PARAMETERSallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1235 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningsallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1234 17b73243-c579-4c4c-a9d2-2d5706c11dac