From a07489dec7a4e1153624e158a2c5f2837b9247de Mon Sep 17 00:00:00 2001 From: jthorn Date: Sun, 6 Jul 2003 11:16:19 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@3 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef --- .../1d.cube.order2.smooth0.c | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/Lagrange-tensor-product/1d.cube.order2.smooth0.c (limited to 'src/Lagrange-tensor-product/1d.cube.order2.smooth0.c') diff --git a/src/Lagrange-tensor-product/1d.cube.order2.smooth0.c b/src/Lagrange-tensor-product/1d.cube.order2.smooth0.c new file mode 100644 index 0000000..8e0f30c --- /dev/null +++ b/src/Lagrange-tensor-product/1d.cube.order2.smooth0.c @@ -0,0 +1,58 @@ +/* $Header$ */ + +#include +#include +#include +#include +#include + +#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_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 + +#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_size3 +#define COEFFS_STRUCT coeffs_struct_1d_cube_size3 + +#define LOAD_DATA_REAL AEILocalInterp_load_1dcube3_r +#define LOAD_DATA_REAL4 AEILocalInterp_load_1dcube3_r4 +#define LOAD_DATA_REAL8 AEILocalInterp_load_1dcube3_r8 +#define LOAD_DATA_REAL16 AEILocalInterp_load_1dcube3_r16 +#define LOAD_DATA_COMPLEX AEILocalInterp_load_1dcube3_c +#define LOAD_DATA_COMPLEX8 AEILocalInterp_load_1dcube3_c8 +#define LOAD_DATA_COMPLEX16 AEILocalInterp_load_1dcube3_c16 +#define LOAD_DATA_COMPLEX32 AEILocalInterp_load_1dcube3_c32 + +#define EVALUATE_MOLECULE AEILocalInterp_eval_1dcube3 + +#define STORE_COEFFS AEILocalInterp_store_1dcube3 + +/* note pathnames are all relative to "../template.c" */ +#define COEFFS_I_COMPUTE_FILE_NAME "Lagrange-tensor-product/1d.coeffs/1d.cube.order2.smooth0/coeffs-I.compute.c" +#define COEFFS_DX_COMPUTE_FILE_NAME "Lagrange-tensor-product/1d.coeffs/1d.cube.order2.smooth0/coeffs-dx.compute.c" +#define COEFFS_DXX_COMPUTE_FILE_NAME "Lagrange-tensor-product/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c" + +/* actual code */ +#include "../template.c" -- cgit v1.2.3