summaryrefslogtreecommitdiff
path: root/src/main/rfrInterface.c
Commit message (Collapse)AuthorAge
* 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
* 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
* Removing the schedule point BOUND which isn't needed now.allen1999-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1196 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New schedule stuff.goodale1999-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMPORTANT: if you don't have a src/schedule directory, please do an "update -d" or your code won't compile! You can now create schedule groups and schedule items (other groups or functions) IN a group. You may then schedule a group AT a particular CCTK entry point, or inside another group. There is a new keyword WHILE in the schedule specification. The argument(s) to this are the full names of integer scalars, and the item which is scheduled WHILE will be executed while this integer, or these integers, are non-zero. Note that currently there is little checking of the type of these scalars, 'though this will be coming soon. BEFORE, AFTER, or WHILE can take a list of arguments of the form (a,b,c) to stop you having to do something like BEFORE a BEFORE b BEFORE c So the full format of a schedule statement is SCHEDULE [GROUP] <name> <AT entrypoint | IN group> [BEFORE|AFTER <item | (item...)>] [WHILE <integer gridscalar>] { [LANG: <language>] [COMM: <group(s)>] [STORAGE: <groups(s)] [TRIGGERS: <groups(s)] } "<description>" Note that even for a group you need to provide { } "<description>" 'though that may be relaxed soon. Also TRIGGERS are now on a group basis, not on a variable basis. So, for example, to test this I had -------------------------------------- SCHEDULE TEST1_InitialData AT INITIAL { LANG: Fortran } "Initialise" SCHEDULE TEST1_InitialData AT EVOL { LANG: Fortran } "Initialise" SCHEDULE TEST1_Evolve IN testit { LANG: Fortran } "Evolution routine" SCHEDULE GROUP testit WHILE test1::foo_int_scalar AT EVOL AFTER TEST1_InitialData { } "Test a group within a group. " --------------------------------------- where the initialisation routine set test1::foo_int_scalar to 4 and the evolution routine decremented it. The group "testit" is redundant here as only one thing is scheduled in it, the WHILE and AFTER could have gone directly onto the scheduling of TEST1_Evolve. Apart from the checking of the while stuff, the perl does a fair amount of checking that groups exist. It doesn't yet check that a group you are scheduling at or in exists, and neither does the C, so please check the screen output of the final schedule tree. Checks for this an for unreachable groups will go in, but perhaps not in the next week. There's also some tidying up which needs to go in, but this stuff passes all the tests that the unmodified code does. I have also tried to make the output of the CST a bit more useful, 'though now it's a wee bit long-winded. Please send me comments if you want more output of various things, or would like the current output, or how the WHILE stuff works, changed. Tom IMPORTANT: if you don't have a src/schedule directory, please do an "update -d" or your code won't compile! git-svn-id: http://svn.cactuscode.org/flesh/trunk@966 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
* Setting all output dividers to be the same length and not too longallen1999-09-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@868 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
* Some cleaning, info calls, banners, etc.jmasso1999-07-29
| | | | | | | | | | and changing the default of PUGH::padding_active to "no". This obscure thingy is in principle only useful on the T3E... - Joan git-svn-id: http://svn.cactuscode.org/flesh/trunk@819 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
* fixed couple of minor bug in printing rfr treeallen1999-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@733 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed all the numbered RFR points, now you have to use before andallen1999-07-18
| | | | | | | | | | | | after. Actually added one as well. CCTK_POSTINITIAL ... this is because you sometimes have to do something after the initial data is created, this would previously have been CCTK_INITIAL9 (for example, save the initial lapse). Now CCTK_INITIAL should only be for actually setting up initial data (I think), anything else should be POSTINITIAL or BASEGRID. git-svn-id: http://svn.cactuscode.org/flesh/trunk@725 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
* Include file name changesallen1999-06-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@605 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Mainly changes to include missing header files so that there are lessgoodale1999-06-01
| | | | | | | | | warnings when all warnings switched on (also better style 8-). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CACTUS -> CCTKallen1999-03-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@417 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the RFR tree print outallen1999-03-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@395 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed rfrTriggerAction and rfrTriggerSAysGoallen1999-03-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@380 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed debug linesallen1999-02-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@340 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added an include file without which it wasn't finding the pugh overloadedallen1999-02-15
| | | | | | | | functions. Added some debugging stuff which is left in for the moment to see that things are being done right (RFRDEBUG) git-svn-id: http://svn.cactuscode.org/flesh/trunk@278 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed call to rfrTraverse from CCTK_rfrTraverse - now a GH extension'sgoodale1999-02-13
| | | | | | | | | rfrTraverse routine is responsible for calling this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@249 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Wrote the enable and disable rfr functions and register them rather thangoodale1999-02-12
| | | | | | | | | the dummy ones. All these functions are now in rfrInterface.c Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@240 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New file rfrInterface.c which contains the stuff the flesh needsgoodale1999-02-03
when dealing with the rfr. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@195 17b73243-c579-4c4c-a9d2-2d5706c11dac