summaryrefslogtreecommitdiff
path: root/src/include
Commit message (Collapse)AuthorAge
* Some bugfixes and renaming of parameter stuff.goodale1999-10-18
| | | | | | | | | | | | Some more stuff for ActiveThorns. Now the -O and -o commandline options do something sensible. You can also pass an optional parameter 'v' to -O which makes it very verbose. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1054 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix to threading of tree.goodale1999-10-18
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1051 17b73243-c579-4c4c-a9d2-2d5706c11dac
* forgot a ;lanfer1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1047 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added interface for 1D local array reduction - C-prototypeslanfer1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1046 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updating headers, removing constants to the new cctk_constants.hallen1999-10-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1043 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Additions to parameter stuff and activethorns - thanks Andre.goodale1999-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1042 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added cctk.h to includes, temporarily.goodale1999-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1041 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added cctk_Flesh.h before cctk_Comm.h.goodale1999-10-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1037 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding prototypes for Banner functionsallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding an include for cctk_types.hallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1028 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding all prototypes, and removing structures to the file Coord.callen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1027 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Consistent naming convention ... there is a chance that thisallen1999-10-14
| | | | | | | might give compilation problems on the T3E/NT , I'm checking it now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1026 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing the #def statement to be the filenameallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1025 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing #def statement to be the filenameallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1024 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding all CCTK_ functions to C headerallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1023 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
* 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
* 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
* 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
* More functions.goodale1999-09-17
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@947 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
* 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
* 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
* Added CCTK_DECLARE_FUNCTIONSallen1999-09-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@919 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
* 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
* Fixed bug in CCTK_PASS_CTOCallen1999-09-10
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@895 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
* New parameter stuff.goodale1999-08-26
| | | | | | | | | | | Now a non-active thorn's extensions to parameters shouldn't be valid, range checking is now done, even for strings, which must conform to a regular expression. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@859 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added generic reduction routine CCTK_ReduceArray and CCTK_ReduceLocalScalartradke1999-08-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Missed an include fileallen1999-07-31
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@849 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A lot of parameter name changes, especially for IOallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@846 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototype that I thought might make some warnings go away, but it didn'tallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@837 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New include file namesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@833 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Debugging info on the Groupslanfer1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@826 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added CCTK_PASS_CTOC and CCTK_PASS_FTOFallen1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@825 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renaming functions and adding fortran bindingsallen1999-07-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@823 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added extern "C" declarationtradke1999-07-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@809 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added lower and upper bound coordinate registration for each coordinateallen1999-07-27
| | | | | | | | | | | | | | | | | | | on each GH. The relevant functions are CCTK_RegisterCoordRange(GH,lower,upper,"name") (this is done in CartGrid3D now after the coords are calculated) then to get at the values CCTK_CoordRange(GH,lower,upper,"name") Note that in C lower and upper are pointers to the values. This only all works for CCTK_REAL coords at the moment. git-svn-id: http://svn.cactuscode.org/flesh/trunk@793 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK function name changesallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routine name changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@781 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More names changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@780 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
* Mainly changes to get redirection of stdout to work.goodale1999-07-23
| | | | | | | | | | | | | | | Now the defaults for overloaded functions are setup before anything else, and the the Overloading functions count the number of times they are called and don't allow the thing to be overloaded more than twice - once for the default, and once for people actually wanting to overload it. Redirection now works - output is put into files like CCTK_Proc<x> where x is the process number. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@773 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a typo.goodale1999-07-23
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@771 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed IO.h to cctk_IO.htradke1999-07-22
| | | | | | | This became necessary for compiling FlexIO under NT. git-svn-id: http://svn.cactuscode.org/flesh/trunk@767 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed names for some functions which should just be internalallen1999-07-21
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@761 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added missing prototypestradke1999-07-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@742 17b73243-c579-4c4c-a9d2-2d5706c11dac