summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-01-22 15:26:26 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-01-22 15:26:26 +0000
commitee71bfdfdce603fcfabcc7dcd090ee710a6b8f98 (patch)
tree208ef365c8e18ab4eab261687e6c06b829d088fd /src
parentf6245308d18cb6b5aae149c6343b5896c6dda2a1 (diff)
Changed the order of function parameters in CCTK_InterpGridArrays().
Now it is consistent with the order used in CCTK_InterpLocalUniform(). git-svn-id: http://svn.cactuscode.org/flesh/trunk@3094 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/comm/Interp.c14
-rw-r--r--src/include/CommOverloadables.h4
2 files changed, 12 insertions, 6 deletions
diff --git a/src/comm/Interp.c b/src/comm/Interp.c
index ad255f7a..a31cbfb3 100644
--- a/src/comm/Interp.c
+++ b/src/comm/Interp.c
@@ -78,8 +78,8 @@ void CCTK_FCALL CCTK_FNAME (CCTK_InterpGridArrays)
(int *ierror,
const cGH *GH,
const int *N_dims,
- const int *param_table_handle,
const int *local_interp_handle,
+ const int *param_table_handle,
const int *coord_system_handle,
const int *N_interp_points,
const int *interp_coords_type,
@@ -1118,6 +1118,12 @@ void CCTK_FCALL CCTK_FNAME (CCTK_InterpLocal)
@vio in
@endvar
@endvar
+ @var local_interp_handle
+ @vdesc (reference to) the handle which specifies the local interpolator
+ to use
+ @vtype const int *
+ @vio in
+ @endvar
@var param_table_handle
@vdesc (reference to) the parameter table handle for passing optional
parameters to the interpolator routine
@@ -1185,8 +1191,8 @@ void CCTK_FCALL CCTK_FNAME (CCTK_InterpGridArrays)
(int *ierror,
const cGH *GH,
const int *N_dims,
- const int *param_table_handle,
const int *local_interp_handle,
+ const int *param_table_handle,
const int *coord_system_handle,
const int *N_interp_points,
const int *interp_coords_type,
@@ -1197,8 +1203,8 @@ void CCTK_FCALL CCTK_FNAME (CCTK_InterpGridArrays)
const CCTK_INT output_array_types[],
void *const output_arrays[])
{
- *ierror = CCTK_InterpGridArrays (GH, *N_dims, *param_table_handle,
- *local_interp_handle, *coord_system_handle,
+ *ierror = CCTK_InterpGridArrays (GH, *N_dims, *local_interp_handle,
+ *param_table_handle, *coord_system_handle,
*N_interp_points, *interp_coords_type,
interp_coords,
*N_input_arrays,input_array_indices,
diff --git a/src/include/CommOverloadables.h b/src/include/CommOverloadables.h
index e07669a4..517fe054 100644
--- a/src/include/CommOverloadables.h
+++ b/src/include/CommOverloadables.h
@@ -124,8 +124,8 @@ OVERLOADABLE(GroupStorageDecrease)
#define RETURN_TYPE int
#define ARGUMENTS const cGH *GH, \
int N_dims, \
- int param_table_handle, \
int local_interp_handle, \
+ int param_table_handle, \
int coord_system_handle, \
int N_interp_points, \
int interp_coords_type, \
@@ -137,8 +137,8 @@ OVERLOADABLE(GroupStorageDecrease)
void *const output_arrays[]
#define USE_ARGUMENTS (void) (GH + 0); \
(void) (N_dims + 0); \
- (void) (param_table_handle + 0); \
(void) (local_interp_handle + 0); \
+ (void) (param_table_handle + 0); \
(void) (coord_system_handle + 0); \
(void) (N_interp_points + 0); \
(void) (interp_coords_type + 0); \