summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Choose "NUL" instead of "/dev/null" for redirection of stdout under Windoofs.tradke1999-10-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1007 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now a "!" starts a directive in the parameter files, for now this isallen1999-09-25
| | | | | | | | | | | | | just for adding a description of the par file !DESC "Black hole evolution with ADM" which is parsed by runtest Needs to be changed so that it only picks up a ! at the start of the line, git-svn-id: http://svn.cactuscode.org/flesh/trunk@993 17b73243-c579-4c4c-a9d2-2d5706c11dac
* No public parameters now in fleshallen1999-09-24
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@987 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_MainLoopIndex() and CCTK_SetMainLoopIndex() to controltradke1999-09-22
| | | | | | | | the iteration counter in the evolution loop. This is used for checkpointing & recovery. git-svn-id: http://svn.cactuscode.org/flesh/trunk@982 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Enable scheduling of recovery and ID checkpoint routines.tradke1999-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@981 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Switched order of cctkGH and retcode parameter in fortran bindingstradke1999-09-22
| | | | | | | | of CCTK_Reduce and CCTK_Interp to make it consistent with other fortran bindings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@980 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use strlen instead of sizeof when allocating memory for printing error msgs.tradke1999-09-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@979 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed LOGICAL in ccl files to BOOLEANallen1999-09-21
| | | | | | | | | | LOGICAL will still work for now Hopefully this will remove the confusion in Fortran with "logicals" having integer values git-svn-id: http://svn.cactuscode.org/flesh/trunk@977 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Basegrid to print of schedule treeallen1999-09-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@973 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding CactusSync.c to makefilelanfer1999-09-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@970 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus Sync routineslanfer1999-09-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@969 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug found on origin.goodale1999-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@968 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
* This was a duplicate of cctk_ActiveThorns.hgoodale1999-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@965 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to use cctk_ActiveThorns.h not ActiveThorns.hgoodale1999-09-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@964 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a bug in the trigger stuff. Now can get it to pass the testsuites ongoodale1999-09-18
| | | | | | | | | | | Linux ! 8-) A few cosmetic changes too. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@959 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some bug fixes. Put in all the rfr mechanisms like storage and comm and ↵goodale1999-09-18
| | | | | | | | | | | triggers, added a SchedulePrint function. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@956 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Header for routines to register and get Fortran Wrappers.goodale1999-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@955 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routines to register and get Fortran Wrapper functions.goodale1999-09-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@954 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing position of error code for OutputVarByMethodallen1999-09-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@949 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Typoallen1999-09-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@948 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More functions.goodale1999-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@947 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added some more functions and fixed a few bugs. It can now do startup ↵goodale1999-09-17
| | | | | | | | | functions correctly. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@946 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in function name.goodale1999-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@945 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added subroutines for scheduling groups for storage and communication.goodale1999-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@943 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a make.code.defn.goodale1999-09-16
| | | | | | | | | | | | | | | | | | | | Added an extra data field to the traversal calls so that things like the GH can be passed through. Schedule helper routines now return an error code. Currently only the ones from the entry and the while_list routines are used, and both indicate if processing of that group/function whoculd be done. The while_list is checked first, and if that returns success, the entry one is called, if that returns success, the loop is entered, and that loop exits when while_loop returns false. Finally the exit function is called unless the entry function was never called. If these functions aren't provided (i.e. they are NULL), the code does the main loop once. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@937 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Main hook file between the flesh and the rest of the scheduling stuff.goodale1999-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@936 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More scheduling stuff.goodale1999-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@935 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the new traversal routines.goodale1999-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@934 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New Traversal routines.goodale1999-09-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@933 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding cactus header filesallen1999-09-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@931 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding DECLARE_CCTK_FUNCTIONS for Fortran functions. Use thisallen1999-09-16
| | | | | | | to automatically declare things like CCTK_Equals git-svn-id: http://svn.cactuscode.org/flesh/trunk@930 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Lots of tidying and reorganisation.goodale1999-09-15
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@929 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Contains stuff needed by other parts of the infrastructure calling schedulinggoodale1999-09-15
| | | | | | | | | stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@928 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This commit was generated by cvs2svn to compensate for changes in r924,goodale1999-09-15
| | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.cactuscode.org/flesh/trunk@925 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added headersallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@920 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_DECLARE_FUNCTIONSallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@919 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran binder for IsThornActiveallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@918 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing again how we deal with space and time, ready for AMR.allen1999-09-14
| | | | | | | | | | | | | | | | Now cctk_delta_space(i) are (again) the grid spacing on the BASE grid and there are macros CCTK_DELTA_SPACE(i) = cctk_delta_space(i)/cctk_levfac(i) to give the grid spacing on the local grid. Similarly with CCTK_DELTA_TIME You should switch over to using this variables whenever you want the grid spacings, to be ready for mesh refinement drivers. git-svn-id: http://svn.cactuscode.org/flesh/trunk@909 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Lowering the warning level for a string not being a group, sinceallen1999-09-14
| | | | | | | this is used to test if it is a group git-svn-id: http://svn.cactuscode.org/flesh/trunk@908 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
* Start on the new timer stuff.goodale1999-09-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@906 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Minor bug fix.goodale1999-09-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@905 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Won't set a parameter from an inactive thorn, see PR CCTK/77.goodale1999-09-14
| | | | | | | | | Removed some tabs from the source file. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@902 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Undo using MKDIRFLAGS until it also works under NT.tradke1999-09-13
| | | | | | | Commented the code out and added a small description. git-svn-id: http://svn.cactuscode.org/flesh/trunk@900 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use also MKDIRFLAGS when creating directories.tradke1999-09-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@899 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Null Terminate String now gives a warning if the length of the stringallen1999-09-11
| | | | | | | | | | passed is more that 100000, since this always happens if you put the wrong arguments in a call to C from Fortran. It lets you carry on, since then you can use a debugger to see exactly where the problem is without editting any par files. git-svn-id: http://svn.cactuscode.org/flesh/trunk@896 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed bug in CCTK_PASS_CTOCallen1999-09-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@895 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed MKDIRFLAGS from directory creation command. Default will beallen1999-09-07
| | | | | | | to give a warning if the directory exists. git-svn-id: http://svn.cactuscode.org/flesh/trunk@882 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Free some memory after a mallocallen1999-09-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@881 17b73243-c579-4c4c-a9d2-2d5706c11dac