diff options
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/common/fetch.h')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/common/fetch.h | 149 |
1 files changed, 0 insertions, 149 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/common/fetch.h b/src/GeneralizedPolynomial-Uniform/common/fetch.h deleted file mode 100644 index 92faf25..0000000 --- a/src/GeneralizedPolynomial-Uniform/common/fetch.h +++ /dev/null @@ -1,149 +0,0 @@ -/* fetch.h -- fetch molecule-sized piece of input array into struct data */ -/* $Header$ */ - -/* - * prerequisite headers: - * "cctk.h" - * "../InterpLocalUniform.h" - * "structs.h" - */ - -/******************************************************************************/ - -/* - * 1-D fetch routines - */ - -#undef INT_STRIDE_IJK -#define INT_STRIDE_IJK int stride_i - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube2_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size2 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube3_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size3 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube4_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size4 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube5_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size5 -#include "fetch-template.h" -#undef FETCH_FUNCTION_NAME_PREFIX - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube6_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size6 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_1d_cube7_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_1d_cube_size7 -#include "fetch-template.h" - -/******************************************************************************/ - -/* - * 2-D fetch routines - */ - -#undef INT_STRIDE_IJK -#define INT_STRIDE_IJK int stride_i, int stride_j - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_2d_cube2_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_2d_cube_size2 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_2d_cube3_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_2d_cube_size3 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_2d_cube4_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_2d_cube_size4 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_2d_cube5_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_2d_cube_size5 -#include "fetch-template.h" -#undef FETCH_FUNCTION_NAME_PREFIX - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_2d_cube6_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_2d_cube_size6 -#include "fetch-template.h" - -/******************************************************************************/ - -/* - * 3-D fetch routines - */ - -#undef INT_STRIDE_IJK -#define INT_STRIDE_IJK int stride_i, int stride_j, int stride_k - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube2_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size2 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube3_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size3 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube3_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size3 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube4_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size4 -#include "fetch-template.h" - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube5_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size5 -#include "fetch-template.h" -#undef FETCH_FUNCTION_NAME_PREFIX - -#undef FETCH_FUNCTION_NAME -#define FETCH_FUNCTION_NAME(type) LocalInterp_fetch_3d_cube6_ ## type -#undef DATA_STRUCT -#define DATA_STRUCT data_struct_3d_cube_size6 -#include "fetch-template.h" - -/******************************************************************************/ - -/* - * We don't want to leave DATA_STRUCT defined -- this would confuse - * later code that wants to define it and include "fetch-template.c" - */ -#undef DATA_STRUCT |