aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c41
1 files changed, 25 insertions, 16 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c
index 1b44efd..3e11d44 100644
--- a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c
@@ -9,9 +9,13 @@
#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_ULagrange_1dcube_60
+#define FUNCTION_NAME LocalInterp_ULagrange_1d_cube60
#include "../template.h"
#define N_DIMS 1
@@ -24,26 +28,31 @@
#define HAVE_OP_DX
#define HAVE_OP_DXX
-/* note pathnames are all relative to *this* directory */
+#define XYZ x
+#define FP_XYZ fp x
+#define STRIDE_IJK stride_i
+#define JACOBIAN_MIJK_STRIDE Jacobian_mi_stride
-#define DATA_VAR_DCL_FILE_NAME "../common/1d.cube.size7/data-var.dcl.c"
-#define DATA_VAR_ASSIGN_FILE_NAME "../common/1d.cube.size7/data-var.assign.c"
+#define DATA_STRUCT data_struct_1d_cube_size7
+#define COEFFS_STRUCT coeffs_struct_1d_cube_size7
-#define COEFF_I_VAR_STORE_FILE_NAME "../common/1d.cube.size7/coeff-I.store.c"
-#define COEFF_DX_VAR_STORE_FILE_NAME "../common/1d.cube.size7/coeff-dx.store.c"
-#define COEFF_DXX_VAR_STORE_FILE_NAME "../common/1d.cube.size7/coeff-dxx.store.c"
+#define FETCH_DATA_REAL LocalInterp_fetch_1d_cube7_r
+#define FETCH_DATA_REAL4 LocalInterp_fetch_1d_cube7_r4
+#define FETCH_DATA_REAL8 LocalInterp_fetch_1d_cube7_r8
+#define FETCH_DATA_REAL16 LocalInterp_fetch_1d_cube7_r16
+#define FETCH_DATA_COMPLEX LocalInterp_fetch_1d_cube7_c
+#define FETCH_DATA_COMPLEX8 LocalInterp_fetch_1d_cube7_c8
+#define FETCH_DATA_COMPLEX16 LocalInterp_fetch_1d_cube7_c16
+#define FETCH_DATA_COMPLEX32 LocalInterp_fetch_1d_cube7_c32
-#define COEFF_I_DCL_FILE_NAME "../common/1d.cube.size7/coeff-I.dcl.c"
-#define COEFF_DX_DCL_FILE_NAME "../common/1d.cube.size7/coeff-dx.dcl.c"
-#define COEFF_DXX_DCL_FILE_NAME "../common/1d.cube.size7/coeff-dxx.dcl.c"
+#define EVALUATE_MOLECULE LocalInterp_eval_1d_cube7
-#define INTERP_I_COMPUTE_FILE_NAME "../common/1d.cube.size7/interp-I.compute.c"
-#define INTERP_DX_COMPUTE_FILE_NAME "../common/1d.cube.size7/interp-dx.compute.c"
-#define INTERP_DXX_COMPUTE_FILE_NAME "../common/1d.cube.size7/interp-dxx.compute.c"
+#define STORE_COEFFS LocalInterp_store_1d_cube7
-#define COEFF_I_COMPUTE_FILE_NAME "1d.coeffs/1d.cube.order6.smooth0/coeff-I.compute.c"
-#define COEFF_DX_COMPUTE_FILE_NAME "1d.coeffs/1d.cube.order6.smooth0/coeff-dx.compute.c"
-#define COEFF_DXX_COMPUTE_FILE_NAME "1d.coeffs/1d.cube.order6.smooth0/coeff-dxx.compute.c"
+/* note pathnames are all relative to "../template.c" */
+#define COEFFS_I_COMPUTE_FILE_NAME "Lagrange/1d.coeffs/1d.cube.order6.smooth0/coeffs-I.compute.c"
+#define COEFFS_DX_COMPUTE_FILE_NAME "Lagrange/1d.coeffs/1d.cube.order6.smooth0/coeffs-dx.compute.c"
+#define COEFFS_DXX_COMPUTE_FILE_NAME "Lagrange/1d.coeffs/1d.cube.order6.smooth0/coeffs-dxx.compute.c"
/* actual code */
#include "../template.c"