summaryrefslogtreecommitdiff
path: root/src/include/CommOverloadables.h
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-12-16 15:03:05 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-12-16 15:03:05 +0000
commit91ac5248655fb225c248b2f1637ec99cb179bcf7 (patch)
tree299eff4116d0df57538c7206b4c8a7f6987282e9 /src/include/CommOverloadables.h
parent1ca1ade05e714a2297b42d6faa3af79993460613 (diff)
Defined overloadable function CCTK_InterpGridArrays() and added
CactusDefaultInterpGridArrays() as its default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3048 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/CommOverloadables.h')
-rw-r--r--src/include/CommOverloadables.h38
1 files changed, 37 insertions, 1 deletions
diff --git a/src/include/CommOverloadables.h b/src/include/CommOverloadables.h
index dbf23797..52daa165 100644
--- a/src/include/CommOverloadables.h
+++ b/src/include/CommOverloadables.h
@@ -111,7 +111,7 @@ OVERLOADABLE(GroupDynamicData)
#undef RETURN_TYPE
#define RETURN_TYPE int
-#define ARGUMENTS cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status
+#define ARGUMENTS cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status
#define USE_ARGUMENTS GH = GH; n_groups=n_groups; groups = groups; timelevels = timelevels; status = status;
OVERLOADABLE(GroupStorageIncrease)
OVERLOADABLE(GroupStorageDecrease)
@@ -120,6 +120,42 @@ OVERLOADABLE(GroupStorageDecrease)
#undef USE_ARGUMENTS
#undef RETURN_TYPE
+/* overloadable routine CCTK_InterpGridArrays() */
+#define RETURN_TYPE int
+#define ARGUMENTS const cGH *GH, \
+ int N_dims, \
+ int global_param_table_handle, \
+ int local_param_table_handle, \
+ int local_interp_handle, \
+ int coord_system_handle, \
+ int N_interp_points, \
+ int interp_coords_type, \
+ const void *const interp_coords[], \
+ int N_input_arrays, \
+ const CCTK_INT input_array_indices[], \
+ int N_output_arrays, \
+ const CCTK_INT output_array_types[], \
+ void *const output_arrays[]
+#define USE_ARGUMENTS (void) (GH + 0); \
+ (void) (N_dims + 0); \
+ (void) (global_param_table_handle + 0); \
+ (void) (local_param_table_handle + 0); \
+ (void) (local_interp_handle + 0); \
+ (void) (coord_system_handle + 0); \
+ (void) (N_interp_points + 0); \
+ (void) (interp_coords_type + 0); \
+ (void) (interp_coords + 0); \
+ (void) (N_input_arrays + 0); \
+ (void) (input_array_indices + 0); \
+ (void) (N_output_arrays + 0); \
+ (void) (output_array_types + 0); \
+ (void) (output_arrays + 0);
+OVERLOADABLE(InterpGridArrays)
+
+#undef ARGUMENTS
+#undef USE_ARGUMENTS
+#undef RETURN_TYPE
+
#undef OVERLOADABLE_CALL
#undef OVERLOADABLE_PREFIX
#undef OVERLOADABLE_DUMMY_PREFIX