diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-09-01 18:33:46 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-09-01 18:33:46 +0000 |
commit | 62d9bbda3a11eca52f1c34fa9f1ef569409507d8 (patch) | |
tree | 9ccb83f9bca227e9014a8ddd71141ac2119e3820 /src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c | |
parent | 5799c854f7c0756f6b5a12945503c2f301b4fa2c (diff) |
coefficients being redone for finite compilation size/time
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@111 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c b/src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c index ea07ada..449bc8b 100644 --- a/src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c +++ b/src/GeneralizedPolynomial-Uniform/Hermite/2d.cube.order3.c @@ -9,6 +9,10 @@ #include "util_ErrorCodes.h" #include "cctk.h" #include "../InterpLocalUniform.h" +#include "../common/structs.h" +#include "../common/fetch.h" +#include "../common/evaluate.h" +#include "../common/store.h" /* function prototype */ #define FUNCTION_NAME LocalInterp_UHermite_2dcube_3 @@ -27,36 +31,34 @@ #define HAVE_OP_DXY #define HAVE_OP_DYY -#define DATA_VAR_DCL_FILE_NAME "../common/2d.cube.size6/data-var.dcl.c" -#define DATA_VAR_ASSIGN_FILE_NAME "../common/2d.cube.size6/data-var.assign.c" - -#define COEFF_I_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-I.store.c" -#define COEFF_DX_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-dx.store.c" -#define COEFF_DY_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-dy.store.c" -#define COEFF_DXX_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-dxx.store.c" -#define COEFF_DXY_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-dxy.store.c" -#define COEFF_DYY_VAR_STORE_FILE_NAME "../common/2d.cube.size6/coeff-dyy.store.c" - -#define COEFF_I_DCL_FILE_NAME "../common/2d.cube.size6/coeff-I.dcl.c" -#define COEFF_DX_DCL_FILE_NAME "../common/2d.cube.size6/coeff-dx.dcl.c" -#define COEFF_DY_DCL_FILE_NAME "../common/2d.cube.size6/coeff-dy.dcl.c" -#define COEFF_DXX_DCL_FILE_NAME "../common/2d.cube.size6/coeff-dxx.dcl.c" -#define COEFF_DXY_DCL_FILE_NAME "../common/2d.cube.size6/coeff-dxy.dcl.c" -#define COEFF_DYY_DCL_FILE_NAME "../common/2d.cube.size6/coeff-dyy.dcl.c" - -#define INTERP_I_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-I.compute.c" -#define INTERP_DX_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-dx.compute.c" -#define INTERP_DY_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-dy.compute.c" -#define INTERP_DXX_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-dxx.compute.c" -#define INTERP_DXY_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-dxy.compute.c" -#define INTERP_DYY_COMPUTE_FILE_NAME "../common/2d.cube.size6/interp-dyy.compute.c" - -#define COEFF_I_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-I.compute.c" -#define COEFF_DX_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-dx.compute.c" -#define COEFF_DY_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-dy.compute.c" -#define COEFF_DXX_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-dxx.compute.c" -#define COEFF_DXY_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-dxy.compute.c" -#define COEFF_DYY_COMPUTE_FILE_NAME "2d.coeffs/2d.cube.order3/coeff-dyy.compute.c" +#define XYZ x, y +#define FP_XYZ fp x, fp y +#define STRIDE_IJK stride_i, stride_j +#define JACOBIAN_MIJK_STRIDE Jacobian_mi_stride, Jacobian_mj_stride + +#define DATA_STRUCT data_struct_2d_cube_size6 +#define COEFFS_STRUCT coeffs_struct_2d_cube_size6 + +#define FETCH_DATA_REAL LocalInterp_fetch_2d_cube6_r +#define FETCH_DATA_REAL4 LocalInterp_fetch_2d_cube6_r4 +#define FETCH_DATA_REAL8 LocalInterp_fetch_2d_cube6_r8 +#define FETCH_DATA_REAL16 LocalInterp_fetch_2d_cube6_r16 +#define FETCH_DATA_COMPLEX LocalInterp_fetch_2d_cube6_c +#define FETCH_DATA_COMPLEX8 LocalInterp_fetch_2d_cube6_c8 +#define FETCH_DATA_COMPLEX16 LocalInterp_fetch_2d_cube6_c16 +#define FETCH_DATA_COMPLEX32 LocalInterp_fetch_2d_cube6_c32 + +#define EVALUATE_MOLECULE LocalInterp_eval_2d_cube6 + +#define STORE_COEFFS LocalInterp_store_2d_cube6 + +/* note pathnames are all relative to "../template.c" */ +#define COEFFS_I_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-I.compute.c" +#define COEFFS_DX_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-dx.compute.c" +#define COEFFS_DY_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-dy.compute.c" +#define COEFFS_DXX_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-dxx.compute.c" +#define COEFFS_DXY_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-dxy.compute.c" +#define COEFFS_DYY_COMPUTE_FILE_NAME "Hermite/2d.coeffs/2d.cube.order3/coeff-dyy.compute.c" /* actual code */ #include "../template.c" |