aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c b/src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c
new file mode 100644
index 0000000..4f7b89b
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange/3d.cube.order1.smooth0.c
@@ -0,0 +1,50 @@
+#include <math.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+
+#include "util_ErrorCodes.h"
+#include "cctk.h"
+#include "../InterpLocalUniform.h"
+
+/* function prototype */
+#define FUNCTION_NAME LocalInterp_ULagrange_3dcube_10
+#include "../template.h"
+
+#define N_DIMS 3
+#define MOLECULE_MIN_M 0
+#define MOLECULE_MAX_M 1
+#define MOLECULE_SIZE 2
+
+/* which derivative ops do we support? */
+#define HAVE_OP_I
+#define HAVE_OP_DX
+#define HAVE_OP_DY
+#define HAVE_OP_DZ
+
+#define DATA_VAR_DCL_FILE_NAME "../common/3d.cube.size2/data-var.dcl.c"
+#define DATA_VAR_ASSIGN_FILE_NAME "../common/3d.cube.size2/data-var.assign.c"
+
+#define COEFF_I_VAR_STORE_FILE_NAME "../common/3d.cube.size2/coeff-I.store.c"
+#define COEFF_DX_VAR_STORE_FILE_NAME "../common/3d.cube.size2/coeff-dx.store.c"
+#define COEFF_DY_VAR_STORE_FILE_NAME "../common/3d.cube.size2/coeff-dy.store.c"
+#define COEFF_DZ_VAR_STORE_FILE_NAME "../common/3d.cube.size2/coeff-dz.store.c"
+
+#define COEFF_I_DCL_FILE_NAME "../common/3d.cube.size2/coeff-I.dcl.c"
+#define COEFF_DX_DCL_FILE_NAME "../common/3d.cube.size2/coeff-dx.dcl.c"
+#define COEFF_DY_DCL_FILE_NAME "../common/3d.cube.size2/coeff-dy.dcl.c"
+#define COEFF_DZ_DCL_FILE_NAME "../common/3d.cube.size2/coeff-dz.dcl.c"
+
+#define INTERP_I_COMPUTE_FILE_NAME "../common/3d.cube.size2/interp-I.compute.c"
+#define INTERP_DX_COMPUTE_FILE_NAME "../common/3d.cube.size2/interp-dx.compute.c"
+#define INTERP_DY_COMPUTE_FILE_NAME "../common/3d.cube.size2/interp-dy.compute.c"
+#define INTERP_DZ_COMPUTE_FILE_NAME "../common/3d.cube.size2/interp-dz.compute.c"
+
+#define COEFF_I_COMPUTE_FILE_NAME "3d.coeffs/3d.cube.order1.smooth0/coeff-I.compute.c"
+#define COEFF_DX_COMPUTE_FILE_NAME "3d.coeffs/3d.cube.order1.smooth0/coeff-dx.compute.c"
+#define COEFF_DY_COMPUTE_FILE_NAME "3d.coeffs/3d.cube.order1.smooth0/coeff-dy.compute.c"
+#define COEFF_DZ_COMPUTE_FILE_NAME "3d.coeffs/3d.cube.order1.smooth0/coeff-dz.compute.c"
+
+/* actual code */
+#include "../template.c"