summaryrefslogtreecommitdiff
path: root/src/include
Commit message (Collapse)AuthorAge
...
* Added an origin entry to the coordinate structureallen1999-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@731 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
* Changed the interface for CCTK_Interp which is now more generaltradke1999-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because pointers to input fields are passed instead of variable indices. This way you can also interpolate on local fields. int CCTK_Interp (cGH *GH, int operation_handle, int nPoints, int nDims, int nInFields, int nOutFields, ...) whereas in the variable argument list there are passed (int this order): - dimensions of the underlying grid (int [nDims]) - coordinate arrays of points to interpolate at (void *[nDims]) - array of variable types for each coordinate array (int [nDims]) - origin of the underlying grid (<type of coordinate fields> [nDims]) - deltas of the underlying grid (<type of coordinate fields> [nDims]) - array of input fields (void *[nInFields]) - array of variable types for input fields (int [nInFields]) - array of output fields (void *[nOutFields]) - array of variable types for output fields (int []) The Fortran CCTK_Interp gets in addition to those as the second parameter a pointer to an integer where the returncode is stored. For interpolation of grid functions you can use CCTK_InterpGF which has the same interface as the old CCTK_Interp routine. Here you just pass the GF indices instead of the pointers. Since GFs are a special case of arrays, this routine uses the internal description of the underlying grid and simply calls CCTK_Interp. Interpolation operators have to implement the interface for the most general CCTK_Interp. See the packages/CactusPUGH/interp/src/interp_demo.F for an example of how to use both CCTK_Interp and CCTK_InterpGF. git-svn-id: http://svn.cactuscode.org/flesh/trunk@708 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding correct overloadablesallen1999-07-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@706 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Spelling mistake correctedallen1999-07-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@701 17b73243-c579-4c4c-a9d2-2d5706c11dac
* prototypes for CCTK_Interp and registration of interpolation operatorstradke1999-07-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@691 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_Interp is no longer overloadabletradke1999-07-08
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@690 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
* Fixed a typo.goodale1999-07-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@684 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Updated CCTK_SetLogical to use CCTK_INT.goodale1999-07-06
| | | | | | | | | | Moved a ONE_FORTSTRING_ARG to end of variable declarations so that it can contain non-declarations. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@683 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
* Fix to SetDoubleInRange and SetIntInRange so compiling on the T3E works.allen1999-07-05
| | | | | | | | At the moment it won't work for real or int parameters which aren't defined as CCTK_INT or CCTK_REAL in param.ccl git-svn-id: http://svn.cactuscode.org/flesh/trunk@654 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed unused files.goodale1999-07-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@651 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Latest changes for the ActiveThorns.goodale1999-07-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@649 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Stuff for the ActiveThorns parameter.goodale1999-07-04
| | | | | | | | | | | | | | | | Now need to specify ActiveThorns before any other parameters to list those thorns which are active. No parameters or startup or rfr routines are available from inactive thorns. Note that this isn't quite working yet but I hope to track it down by morning. In the meantime either don't update or be prepared for things to be slightly broken. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@645 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
* New prototypesallen1999-07-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@636 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes for T3Eallen1999-07-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@626 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
* Fixing prototypes and data typesallen1999-07-01
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@612 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
* Added CCTK_ParamWarn to give a warning about parameters and add one to theallen1999-06-28
| | | | | | | | | | | | | | | | | count of parameter warnings. Use this in any routine registered at ParamCheck to give a warning which should stop the code. This has a macro CCTK_PARAMWARN("blah") which adds on the thorn name Changed CCTK_Info to also take the thorn name, and there is now a macro CCTK_INFO("blah") to automatically add it. Also added CCTKi_Paramfinalise which is called by flesh after param check to stop the code if there are parameter problems. git-svn-id: http://svn.cactuscode.org/flesh/trunk@592 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Missing prototypesallen1999-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@586 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
* Total renaming of items on cGH.allen1999-06-25
| | | | | | | | Added cctk_from and ctk_to, which will be filled in by drivers to give local physical zone git-svn-id: http://svn.cactuscode.org/flesh/trunk@583 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed extraneous argument to a macro being undefined.goodale1999-06-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@570 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding an extra entry to the group structure which says if a groupallen1999-06-22
| | | | | | | is private, protected or Public git-svn-id: http://svn.cactuscode.org/flesh/trunk@560 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
* Update of various things in the configuration system:goodale1999-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully the options=<file name> on the make line should now work properly for specifying different compilers and flags. Have introduced various CCTK_REAL* and CCTK_INT* types as discussed with Gab and Thomas the other day - CCTK_REAL and CCTK_INT are now chosen from these by the definition of a couple of precision variables- PRECISION with allowed values QUAD, DOUBLE and REAL INTEGER_PRECISION with allowed values 8,4 and 2 these map into #defines of CCTK_PRECISION_* and CCTK_INTEGER_PRECISION_* respectively in the code, and then these are used by cctk_types.h in src/include to choose the correct values for CCTK_REAL and CCTK_INT. Note that at the moment you will probably need to specify the precision in the options file. Will probably add it to the gmake command line soon. Finally, have introduced a new configuration file cctk_archdefs.h in the <config>/config-data directory. This can be written to by a known-architecture file via cat >> cctk_archdefs.h << EOF anything you like here EOF and can thus be used to include arbitrary configuration into the code. This should be used for things like #define T3E or #define G77 etc. Have fun, Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@557 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
* Added prototype for the parameter help function.goodale1999-06-04
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@546 17b73243-c579-4c4c-a9d2-2d5706c11dac
* SOme morejmasso1999-06-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@544 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes from Joan and his NT nightmares.jmasso1999-06-03
| | | | | | | Please try this on a reasonable OS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New files containing prototypes for the flesh-accessed binding functionsgoodale1999-06-01
| | | | | | | | | | | | and the flesh functions in rfrInterface.c. Added prototype of rfrPrintDescs to rfr_constants.h - this should be renamed or something at some point (the file that is 8-). Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@541 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed arguments for Interp back to original values.goodale1999-06-01
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@540 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New file for overloadable functions from main.goodale1999-06-01
| | | | | | | | | | Added production of prototypes for CCTK_Overload* using new macro from Overload.h. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@539 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a new macro to give prototypes for the functions calledgoodale1999-06-01
| | | | | | | | | to do the overloading. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@538 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added the GNU extended regalar expression library sources. These files aregoodale1999-05-26
| | | | | | | | | | | | | | | as distributed with the regex-0.12 package, except for prepending them with gnu_ and a couple of clearly marked changes, plus the adddition of grdoc file headers. This should guarantee the same behaviour and presence of regular expressions on all platforms, especially those which don't fully support POSIX regular expresssions. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@533 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed order of argument listsallen1999-05-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@532 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed CCTK_Reduce from Overloadable functions since it isn't anymore.allen1999-05-13
| | | | | | | | It is in src/comm . Perhaps it should still be overloadable since everything else is. git-svn-id: http://svn.cactuscode.org/flesh/trunk@528 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Prototypes for reduction functionsallen1999-05-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@526 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
* Added prototype for CCTK_Info()tradke1999-05-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@523 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added treatment for 3 fortran strings, just in case it is ever needed.allen1999-05-09
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@522 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to allocate memory for a Cactus timer.goodale1999-05-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@517 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added name to argument just in case we ever want to generate dummy functions.goodale1999-05-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed redundant (and indeed wrong) argument on #undefs.goodale1999-05-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@515 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