diff options
author | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2003-07-06 11:16:19 +0000 |
---|---|---|
committer | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2003-07-06 11:16:19 +0000 |
commit | a07489dec7a4e1153624e158a2c5f2837b9247de (patch) | |
tree | 83be503e3cdaf39c578202c0fcdcf71337845e42 /src/Lagrange-tensor-product/1d.cube.order2.smooth0.c | |
parent | 892b8a2d121db4c1e436177cb19baa06eb8d0e4a (diff) |
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
Diffstat (limited to 'src/Lagrange-tensor-product/1d.cube.order2.smooth0.c')
-rw-r--r-- | src/Lagrange-tensor-product/1d.cube.order2.smooth0.c | 58 |
1 files changed, 58 insertions, 0 deletions
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 <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_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" |