diff options
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c new file mode 100644 index 0000000..b9dba51 --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order6.smooth0.c @@ -0,0 +1,47 @@ +#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_1dcube_60 +#include "../template.h" + +#define N_DIMS 1 +#define MOLECULE_MIN_M -3 +#define MOLECULE_MAX_M 3 +#define MOLECULE_SIZE 7 + +/* which derivative ops do we support? */ +#define HAVE_OP_I +#define HAVE_OP_DX +#define HAVE_OP_DXX + +/* note pathnames are all relative to *this* directory */ + +#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 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 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 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 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" + +/* actual code */ +#include "../template.c" |