summaryrefslogtreecommitdiff
path: root/src/main/Coord.c
Commit message (Collapse)AuthorAge
* Untabifying.goodale2005-10-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4163 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed CCTK_CoordLocalRange() to calculate the local ranges fromtradke2004-01-20
| | | | | | | | the registered coordinate's lower and upper bounds (rather than using GH->cctk_[ul]bnd). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3446 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added a const qualifier to the 'cGH *' argument of the following functionstradke2003-07-14
| | | | | | | | | | | | | (and their default overloadables): - CCTK_SyncGroup - CCTK_EnableGroupCommI / CCTK_DisableGroupCommI - CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI - CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease - CCTK_CoordRegisterRange / CCTK_CoordRegisterRangePhysIndex You should also update all driver thorns (eg. PUGH) now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3274 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_CoordRegisterData now returns with error code -5 if passed anrideout2002-07-08
| | | | | | | | invalid grid function name. It also gives a more descriptive error message in such a case. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2924 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed wrong number of arguments in calls to CCTK_VWarn().tradke2002-05-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2869 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New functionsallen2001-12-29
| | | | | | | | | | | | | | | const char *CCTK_CoordName (int dir, const char *systemname) const char *CCTK_CoordSystemImplementation (int handle) int CCTK_NumCoordSystems (void) (probably not optimum names now, since maybe CoordSystemImplementation should take the system name, but this matches what there is now in IO, Interp, Reduce) Also fixed a bug in CCTK_CoordRange where there was no return value to signify that the range wasn't actually found if everything else was there. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove ErrorCodes.h since it isn't used and doesn't exist any moreallen2001-12-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2516 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Routines returning coordinate ranges take a 'const cGH *' as an argumenttradke2001-10-30
| | | | | | | since they shouldn't modify the GH. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2440 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Return an error code in CCTK_CoordRangePhysIndex() if no range was ↵tradke2001-07-12
| | | | | | registered yet. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2291 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New API for registering the physical range of indices for coordinates.allen2001-07-04
| | | | | | | | This is going to be used by IO thorns to exclude ghostzones (including the symmetry "ghostzones") for output (if required). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2272 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use new macro names for fortran stringsallen2001-06-20
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2242 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some more const pointer function arguments.tradke2001-05-28
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2211 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new routines to deal with coordinate system handles:tradke2001-02-14
| | | | | | | | | | | int CCTK_CoordSystemHandle (const char *systemname); const char *CCTK_CoordSystemName(int handle); Had to turn the internal coordinate system hash table into a stored handle database. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2018 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed wrong calculation of upper range in CCTK_CoordLocalRange().tradke2001-01-29
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2008 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Checking for non-valid case of coordinate direction = 0, and adding toallen2000-12-18
| | | | | | | | | grdoc and docs Fixes Cactus/401 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1974 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing CCTK_CoordLocalRange, it wasn't working if the coordinate direction ↵allen2000-10-03
| | | | | | wasn't specified. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1845 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Increasing warning levels for coordinatesallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1840 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing BR 431 and 432.tradke2000-09-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1824 17b73243-c579-4c4c-a9d2-2d5706c11dac
* added comment on usage for CCTK_CoordRangelanfer2000-07-18
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1757 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed unused variable. Untabified sources.tradke2000-07-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1747 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changes to coordinate CCTK functions and new functions. These willallen2000-07-12
| | | | | | | break a number of thorns. Changes are being commited now. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1727 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New macros for Fortran callsallen2000-05-10
| | | | | | | CCTK_Warn -> CCTK_VWarn where appropriate git-svn-id: http://svn.cactuscode.org/flesh/trunk@1639 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixing various warnings.goodale2000-04-19
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1596 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing compiler warningsallen2000-03-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1505 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Untabified.goodale2000-01-27
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replacing CCTK_WARN with CCTK_Warnallen2000-01-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1271 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added new functionsallen2000-01-11
| | | | | | | | | | | | CCTK_CoordDir CCTK_CoordLocalRange also renamed coordinate routines to all start with CCTK_Coord... Old functions remain but are deprecated git-svn-id: http://svn.cactuscode.org/flesh/trunk@1221 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Check for memory errorallen1999-12-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1199 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
* Various things pointed out by running Insure on the code.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Put back CCTK_CoordOriginallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1038 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Adding stuff from the header fileallen1999-10-14
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1033 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
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@830 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 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
* Routine name changesallen1999-07-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@781 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
* Added routine for registering and getting back the coordinate origin.allen1999-07-18
| | | | | | | | | Not quite finished since at the moment it always tells you that the origin is at zero. This is because I haven't decided whether you should register the coordiante and the origin separately or at the same time. git-svn-id: http://svn.cactuscode.org/flesh/trunk@724 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran binding for CCTK_GetCoordIndex()tradke1999-07-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@702 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
* 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
* missing header filesallen1999-06-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@585 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
* Coordinate registration. Now a GF which represents a coordinateallen1999-04-22
| | | | | | | | | | is registered with a name and a direction. This is so that we can for example register the grid function "grid::x" to be called "x" and then IO uses the grid function called "x" for an x-coordinate for output. git-svn-id: http://svn.cactuscode.org/flesh/trunk@491 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New group stuffallen1999-04-15
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@482 17b73243-c579-4c4c-a9d2-2d5706c11dac