aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/1d.cube.order2.smooth0.c
blob: 8622079e9fd361a57ef060505b5ea54561ea5e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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_20
#include "../template.h"

#define N_DIMS		1
#define MOLECULE_MIN_M	-1
#define MOLECULE_MAX_M	1
#define MOLECULE_SIZE	3

/* 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.size3/data-var.dcl.c"
#define DATA_VAR_ASSIGN_FILE_NAME	"../common/1d.cube.size3/data-var.assign.c"

#define COEFF_I_VAR_STORE_FILE_NAME	"../common/1d.cube.size3/coeff-I.store.c"
#define COEFF_DX_VAR_STORE_FILE_NAME	"../common/1d.cube.size3/coeff-dx.store.c"
#define COEFF_DXX_VAR_STORE_FILE_NAME	"../common/1d.cube.size3/coeff-dxx.store.c"

#define COEFF_I_DCL_FILE_NAME		"../common/1d.cube.size3/coeff-I.dcl.c"
#define COEFF_DX_DCL_FILE_NAME		"../common/1d.cube.size3/coeff-dx.dcl.c"
#define COEFF_DXX_DCL_FILE_NAME		"../common/1d.cube.size3/coeff-dxx.dcl.c"

#define INTERP_I_COMPUTE_FILE_NAME	"../common/1d.cube.size3/interp-I.compute.c"
#define INTERP_DX_COMPUTE_FILE_NAME	"../common/1d.cube.size3/interp-dx.compute.c"
#define INTERP_DXX_COMPUTE_FILE_NAME	"../common/1d.cube.size3/interp-dxx.compute.c"

#define COEFF_I_COMPUTE_FILE_NAME	"1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c"
#define COEFF_DX_COMPUTE_FILE_NAME	"1d.coeffs/1d.cube.order2.smooth0/coeff-dx.compute.c"
#define COEFF_DXX_COMPUTE_FILE_NAME	"1d.coeffs/1d.cube.order2.smooth0/coeff-dxx.compute.c"

/* actual code */
#include "../template.c"