diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-27 18:56:31 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-27 18:56:31 +0000 |
commit | ca08c68ac75f62fb3750be571301c470136538f9 (patch) | |
tree | 9f16b2ee285a472827a69f7a28b456aaf4464ecd /src/include | |
parent | 3476a41713d8ba22e68990f9690ec12005298c89 (diff) |
Untabified.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1312 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cctk_Coord.h | 26 | ||||
-rw-r--r-- | src/include/cctk_Groups.h | 9 | ||||
-rw-r--r-- | src/include/cctk_ParameterFunctions.h | 14 | ||||
-rw-r--r-- | src/include/cctk_Reduction.h | 25 | ||||
-rw-r--r-- | src/include/cctki_ScheduleBindings.h | 4 | ||||
-rw-r--r-- | src/include/cctki_Stagger.h | 11 |
6 files changed, 46 insertions, 43 deletions
diff --git a/src/include/cctk_Coord.h b/src/include/cctk_Coord.h index c64eb82b..fbc9642b 100644 --- a/src/include/cctk_Coord.h +++ b/src/include/cctk_Coord.h @@ -21,27 +21,27 @@ int CCTK_CoordIndex(const char *name); int CCTK_CoordDir(const char *name); int CCTK_CoordRange(cGH *GH, - CCTK_REAL *lower, - CCTK_REAL *upper, - const char *name); + CCTK_REAL *lower, + CCTK_REAL *upper, + const char *name); int CCTK_CoordLocalRange(cGH *GH, - CCTK_REAL *lower, - CCTK_REAL *upper, - const char *name); + CCTK_REAL *lower, + CCTK_REAL *upper, + const char *name); int CCTK_CoordRegister(int dir, - const char *gfname, - const char *coordname); + const char *gfname, + const char *coordname); int CCTK_CoordRegisterI(int dir, - int index, - const char *name); + int index, + const char *name); int CCTK_CoordRegisterRange(cGH *GH, - CCTK_REAL min, - CCTK_REAL max, - const char *coordname); + CCTK_REAL min, + CCTK_REAL max, + const char *coordname); /* BEGIN DEPRECATED 4.0b5 */ diff --git a/src/include/cctk_Groups.h b/src/include/cctk_Groups.h index 35642065..fe4c0bf5 100644 --- a/src/include/cctk_Groups.h +++ b/src/include/cctk_Groups.h @@ -24,14 +24,15 @@ typedef struct /* Prototypes */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif #include "cctk_Types.h" int CCTK_DecomposeName(const char *fullname, - char **implementation, - char **name); + char **implementation, + char **name); int CCTK_FirstVarIndex(const char *group); int CCTK_FirstVarIndexI(int group); @@ -89,4 +90,4 @@ char *CCTK_VarTypeName(int vartype); #define CCTK_PROTECTED 2 #define CCTK_PUBLIC 3 -#endif +#endif /* _CCTK_GROUPS_H_ */ diff --git a/src/include/cctk_ParameterFunctions.h b/src/include/cctk_ParameterFunctions.h index 4d54b57b..2ecbfbb0 100644 --- a/src/include/cctk_ParameterFunctions.h +++ b/src/include/cctk_ParameterFunctions.h @@ -98,25 +98,25 @@ extern "C" { /* set the value of a parameter */ int CCTK_ParameterSet ( - const char *name, /* The name of the parameter */ - const char *thorn, /* The originating thorn */ - const char *value); /* The value of the parameter */ + const char *name, /* The name of the parameter */ + const char *thorn, /* The originating thorn */ + const char *value); /* The value of the parameter */ /* get the data pointer to and type of a parameter's value */ void *ParameterGet ( - const char *name, /* The name of the parameter */ + const char *name, /* The name of the parameter */ const char *thorn, /* The originating thorn */ int *type); /* Holds type of parameter */ /* get the string representation of a parameter's value (string should be freed afterwards) */ char *ParameterValString (const char *name, /* The name of the parameter */ - const char *thorn); /* The originating thorn */ + const char *thorn); /* The originating thorn */ /* walk through list of parameters */ const char *CCTK_ParameterWalk( - int first, /* Get first parameter or not */ - const char *origin); /* The origin of this walk */ + int first, /* Get first parameter or not */ + const char *origin); /* The origin of this walk */ /* get list of parameter names for given thorn */ int CCTK_ParameterList (const char* thorn, char ***paramlist, int *n_param); diff --git a/src/include/cctk_Reduction.h b/src/include/cctk_Reduction.h index 2fb17dbc..0b877650 100644 --- a/src/include/cctk_Reduction.h +++ b/src/include/cctk_Reduction.h @@ -12,7 +12,8 @@ #define _CCTK_REDUCTION_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif #define REDUCTION_OPERATOR_REGISTER_ARGLIST \ @@ -67,22 +68,22 @@ int CCTK_ReduceLocalArray1D (cGH *GH, int proc, int operation_handle, int num_in_array1d, int data_type); int CCTK_ReduceLocScalar(cGH *GH, int proc, int operation_handle, - void *in_scalar, void *out_scalar, int data_type); + void *in_scalar, void *out_scalar, int data_type); int CCTK_ReduceLocArrayToArray1D(cGH *GH, int proc, int operation_handle, - void *in_array1d, void *out_array1d, - int num_in_array1d, - int data_type); + void *in_array1d, void *out_array1d, + int num_in_array1d, + int data_type); int CCTK_ReduceLocArrayToArray2D(cGH *GH, int proc, int operation_handle, - void *in_array2d, void *out_array2d, - int xsize, int ysize, - int data_type); + void *in_array2d, void *out_array2d, + int xsize, int ysize, + int data_type); int CCTK_ReduceLocArrayToArray3D(cGH *GH, int proc, int operation_handle, - void *in_array3d, void *out_array3d, - int xsize, int ysize, int zsize, - int data_type); + void *in_array3d, void *out_array3d, + int xsize, int ysize, int zsize, + int data_type); int CCTK_ReduceArray(cGH *GH, @@ -100,4 +101,4 @@ int CCTK_ReduceArray(cGH *GH, } #endif -#endif +#endif /* _CCTK_REDUCTION_H_ */ diff --git a/src/include/cctki_ScheduleBindings.h b/src/include/cctki_ScheduleBindings.h index 2e1d32a8..b5edc892 100644 --- a/src/include/cctki_ScheduleBindings.h +++ b/src/include/cctki_ScheduleBindings.h @@ -51,8 +51,8 @@ int CCTKi_ScheduleGroupStorage(const char *group); int CCTKi_ScheduleGroupComm(const char *group); int CCTKi_ScheduleTraverse(const char *where, - void *GH, - int (*CallFunction)(void *, cFunctionData *, void *)); + void *GH, + int (*CallFunction)(void *, cFunctionData *, void *)); int CCTKi_ScheduleGHInit(void *GH); diff --git a/src/include/cctki_Stagger.h b/src/include/cctki_Stagger.h index 1018232d..77151ec3 100644 --- a/src/include/cctki_Stagger.h +++ b/src/include/cctki_Stagger.h @@ -12,16 +12,17 @@ #define _CCTKI_STAGGER_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif int CCTKi_ParseStaggerString(int dim, - const char *imp, - const char *gname, - const char *stype); + const char *imp, + const char *gname, + const char *stype); #ifdef __cplusplus } #endif -#endif +#endif /* _CCTKI_STAGGER_H_ */ |