summaryrefslogtreecommitdiff
path: root/src/include/cctk.h
Commit message (Collapse)AuthorAge
* CCTK function name changesallen2000-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1297 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ** goes to * for cctk_lsshallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1266 17b73243-c579-4c4c-a9d2-2d5706c11dac
* All include files for thorns now have cctk_ then a capital letter (!)allen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1262 17b73243-c579-4c4c-a9d2-2d5706c11dac
* staggering constantslanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1257 17b73243-c579-4c4c-a9d2-2d5706c11dac
* stagger supportlanfer2000-01-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1256 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add a **int to the C2F prototype to prevent warningsallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1253 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing *cctk_lssh to **cctk_lshallen2000-01-13
| | | | | | | config.h -> cctk_config.h git-svn-id: http://svn.cactuscode.org/flesh/trunk@1244 17b73243-c579-4c4c-a9d2-2d5706c11dac
* defining cctk_lssh, local stager shapelanfer2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1241 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove pointer warning on originallen2000-01-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1240 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More stuff to try and stop warnings on originallen1999-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1205 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Trying out macro for removing warnings on originallen1999-12-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1203 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various changes to make sure there are function prototypes for things.goodale1999-11-30
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1179 17b73243-c579-4c4c-a9d2-2d5706c11dac
* adding macro for easy error/ok checking, works like this:lanfer1999-11-27
| | | | | | | | | | | | | | | | | | | | call CCTK_ReduceLocalScalar(ierr, cctkGH, -1, sum_handle, $ resnorm, residual, CCTK_VARIABLE_REAL) call CCTKi_EXPECTOK(ierr,0,1,"Reduction of norm failed") you plug the return value (ierr) into macro, along with the success value (0). You give the warning level if (ierr.ne.0) and the message to output. Saves some if then statments. there is also a CCTK_EXPECTERROR, where you compare ierr to an error value, handles the same way. (Currently internal CCTKi) gerd git-svn-id: http://svn.cactuscode.org/flesh/trunk@1172 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing definethorn.hallen1999-11-06
| | | | | | | Adding _USE_CCTK_ARGUMENTS ... but doesn't work yet git-svn-id: http://svn.cactuscode.org/flesh/trunk@1141 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding more cctk_ headers for Callen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1061 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
* 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 all CCTK_ functions to C headerallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1023 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
* 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
* 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
* 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
* CCTK function name changesallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@787 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Small changes to remove compiler warnings on the alpha (except forallen1999-07-06
| | | | | | | the gnu regex warnings) git-svn-id: http://svn.cactuscode.org/flesh/trunk@677 17b73243-c579-4c4c-a9d2-2d5706c11dac
* ActiveThorns has been replaced by ThornListallen1999-07-04
| | | | | | | | | | | | | | | | This is because we want to specify in the parameter file which thorns are actually "active", and not just compiled. The command line arguements have been changed to -T and -t instead of -A and -a git-svn-id: http://svn.cactuscode.org/flesh/trunk@640 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added __FORTRANFILE__ to CCTK_Warn macroallen1999-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@621 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_Warns t CCTK_WARN so that I can try and pass thorught theallen1999-07-03
| | | | | | | | | | | | | | | | | | | | | | | | line number and file name to the Warn message. This hass problems: 1) I really need to include cctk.h then (for some reason) in WarnLevel.h, but then I guess the Fortran name for CCTK_Warn is CCTK_WARN so it doesn't much care for me having a macro for CCTK_WARN. 2) Now I need three fortran strings to be passed into C. This works at the moment on Linux, but not on other machines, so you may need to run with warnings off for a little while. 3) Fortran doesn't get the file name, because (?) it is actually something from a pipe which gets preprocessed and not the file. I have no idea how to fix this. I may just scrap all this, but I want to persevere a bit Oh, there is a new parameter cctk_full_warnings (default yes for now) which gives the old style warnings with no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@618 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added _DECLARE_CCTK_CARGUMENTS to get all the standard stuff of theallen1999-06-30
| | | | | | | cGH. git-svn-id: http://svn.cactuscode.org/flesh/trunk@608 17b73243-c579-4c4c-a9d2-2d5706c11dac
* The GH is now called cctkGH when it is passed into RFRed routines toallen1999-06-28
| | | | | | | | | avoid confusion. Added macros for CCTK_INFO and CCTK_PARAMWARN git-svn-id: http://svn.cactuscode.org/flesh/trunk@593 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New names for everything that is passed into rfred routinesallen1999-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@584 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more stuff to do with precision and variables.goodale1999-06-22
| | | | | | | | | | | | | | Now the floating point precision is controlled with REAL_PRECISION with allowed values 16,8,4 , default 8. This maps onto a #define of CCTK_REAL_PRECISION_* . Comples types CCTK_COMPLEX* and CCTK_COMPLEX, as well as the character type CCTK_CHAR have also been defined. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Double -> CCTK_REALallen1999-06-15
| | | | | | | | | | | | | REAL -> CCTK_REAL POINTER -> CCTK_POINTER VARIABLE_REAL -> CCTK_VARIABLE_REAL (etc) GH->iteration is now an int (not an unsigned long int) git-svn-id: http://svn.cactuscode.org/flesh/trunk@551 17b73243-c579-4c4c-a9d2-2d5706c11dac
* This is a bit untidy since I see I've defined a CCTK_REAL here ... tomorrowallen1999-05-13
| | | | | | | | | | | | | | this will be done properly and there will be CCTK_VAR_REAL (or something similar) which will replace VARIABLE_REAL (and my CCTK_REAL above). CCTK_VAR_INTEGER etc. Added a #define to print a separator line in Fortran or C. git-svn-id: http://svn.cactuscode.org/flesh/trunk@525 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Initial stuff for adding errorcodes ... Tom I still can't findallen1999-04-22
| | | | | | | the one you say is in Cactus3.0? git-svn-id: http://svn.cactuscode.org/flesh/trunk@490 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put a missing */ in.goodale1999-04-07
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@451 17b73243-c579-4c4c-a9d2-2d5706c11dac
* included definethorn.hallen1999-04-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@448 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the origin of the spatial coordinate system to the GHallen1999-04-06
| | | | | | | | This is temporary until we add coordinate registration routines just to get the right coordinates in IO git-svn-id: http://svn.cactuscode.org/flesh/trunk@439 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Had to add iteration to the arguement lists for ADM ... but it seems likeallen1999-03-16
| | | | | | | overkill when all ADM wants to know is it the first timestep or not. git-svn-id: http://svn.cactuscode.org/flesh/trunk@398 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass new GH variables through to thornsallen1999-03-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@369 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed _cplusplus to __cplusplus . Hopefully this is right now !goodale1999-02-16
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@291 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added more variables (global_sh, nghostzones, convlevel) to fortranallen1999-02-13
| | | | | | | argument list git-svn-id: http://svn.cactuscode.org/flesh/trunk@252 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Complex type.goodale1999-02-08
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@227 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Must have forgotten to commit this, include file with flesh arguementallen1999-01-30
| | | | | | | | | | | | | | | | | | | | | | lists having a _ in front of them. Also changed #define _DECLARE_CCTK_FARGUMENTS INTEGER dim&&\ INTEGER sh(dim), lb(dim), ub(dim), bbox(2*dim)&&\ INTEGER levfac&&\ POINTER GH to #define _DECLARE_CCTK_FARGUMENTS INTEGER dim&&\ INTEGER sh(dim), lb(dim), ub(dim), bbox(2*dim)&&\ INTEGER levfac&&\ POINTER GH&&\ otherwise declaration lines on the same lines in fortran git-svn-id: http://svn.cactuscode.org/flesh/trunk@157 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Constants for rfr should be here, and not in the rfr filesallen1999-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@132 17b73243-c579-4c4c-a9d2-2d5706c11dac
* First draft of a header file all files using any CCTK facility should include.goodale1999-01-26
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@122 17b73243-c579-4c4c-a9d2-2d5706c11dac