diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-14 09:23:27 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-14 09:23:27 +0000 |
commit | d9a4f0f0ec84c8446841d831738b06df563d5f3b (patch) | |
tree | 57bf6adc8d9fab425649a44245a42592cfaad647 /src | |
parent | 2262751f695973a42eac1cf67f53167a1223eb83 (diff) |
Adding all prototypes, and removing structures to the file Coord.c
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1027 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/include/cctk_Coord.h | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/src/include/cctk_Coord.h b/src/include/cctk_Coord.h index 2730abf8..24961ea3 100644 --- a/src/include/cctk_Coord.h +++ b/src/include/cctk_Coord.h @@ -8,47 +8,22 @@ @version $Header$ @@*/ -#ifndef _COORD_H_ -#define _COORD_H_ - -/* Prototypes */ +#ifndef _CCTK_COORD_H_ +#define _CCTK_COORD_H_ #ifdef __cplusplus extern "C" { #endif -struct Coordprops -{ - char * name; - int index; - CCTK_REAL origin; - int direction; -}; - -typedef struct COORD_RANGE { - - cGH *GH; - - struct Coordprops *props; /* Coordinate data */ - - CCTK_REAL lower; /* Lower range */ - CCTK_REAL upper; /* Upper range */ - - struct COORD_RANGE *next; /* List */ - -} coord_range; - +int CCTK_CoordIndex(const char *name); -int CCTK_CoordRange(cGH *GH, CCTK_REAL *lower, CCTK_REAL *upper, const char *name); +int CCTK_CoordRange( cGH *GH, CCTK_REAL *lower, CCTK_REAL *upper, const char *name); -int CCTK_RegisterCoord(int dir, const char *gfname, - const char *coordname); +int CCTK_RegisterCoord(int dir, const char *gfname, const char *coordname); int CCTK_RegisterCoordI(int dir, int index, const char *name); -int CCTK_CoordIndex(const char *name); - -CCTK_REAL CCTK_CoordOrigin(const char *name); +int CCTK_RegisterCoordRange( cGH *GH, CCTK_REAL min, CCTK_REAL max, const char *coordname); #ifdef __cplusplus } |