aboutsummaryrefslogtreecommitdiff
path: root/src/Lagrange-tensor-product/1d.cube.order6.smooth0.c
blob: a557fe9d5396765e385eeebaff385e695e893427 (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
48
49
50
51
52
53
54
55
56
57
58
/* $Header$ */

#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"
#include "../common/structs.h"
#include "../common/load.h"
#include "../common/evaluate.h"
#include "../common/store.h"

/* function prototype */
#define FUNCTION_NAME			AEILocalInterp_U_LagTP_1cube_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

#define XYZ				x
#define FP_XYZ				fp x
#define STRIDE_IJK			stride_i
#define JACOBIAN_MIJK_STRIDE		Jacobian_mi_stride

#define DATA_STRUCT			data_struct_1d_cube_size7
#define COEFFS_STRUCT			coeffs_struct_1d_cube_size7

#define LOAD_DATA_REAL			AEILocalInterp_load_1dcube7_r
#define LOAD_DATA_REAL4			AEILocalInterp_load_1dcube7_r4
#define LOAD_DATA_REAL8			AEILocalInterp_load_1dcube7_r8
#define LOAD_DATA_REAL16		AEILocalInterp_load_1dcube7_r16
#define LOAD_DATA_COMPLEX		AEILocalInterp_load_1dcube7_c
#define LOAD_DATA_COMPLEX8		AEILocalInterp_load_1dcube7_c8
#define LOAD_DATA_COMPLEX16		AEILocalInterp_load_1dcube7_c16
#define LOAD_DATA_COMPLEX32		AEILocalInterp_load_1dcube7_c32

#define EVALUATE_MOLECULE		AEILocalInterp_eval_1dcube7

#define STORE_COEFFS			AEILocalInterp_store_1dcube7

/* note pathnames are all relative to "../template.c" */
#define COEFFS_I_COMPUTE_FILE_NAME	"Lagrange-tensor-product/1d.coeffs/1d.cube.order6.smooth0/coeffs-I.compute.c"
#define COEFFS_DX_COMPUTE_FILE_NAME	"Lagrange-tensor-product/1d.coeffs/1d.cube.order6.smooth0/coeffs-dx.compute.c"
#define COEFFS_DXX_COMPUTE_FILE_NAME	"Lagrange-tensor-product/1d.coeffs/1d.cube.order6.smooth0/coeffs-dxx.compute.c"

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