4 #if !defined(NAME_H) || !defined(POLY_H)
5 #warning "findpts_el.h" requires "name.h", "poly.h"
8 #define findpts_el_setup_2 PREFIXED_NAME(findpts_el_setup_2)
9 #define findpts_el_free_2 PREFIXED_NAME(findpts_el_free_2 )
10 #define findpts_el_2 PREFIXED_NAME(findpts_el_2 )
11 #define findpts_el_eval_2 PREFIXED_NAME(findpts_el_eval_2 )
43 const unsigned npt_max);
47 double *
const out_base,
const unsigned out_stride,
48 const double *
const r_base,
const unsigned r_stride,
const unsigned pn,
52 const double *
const x[2])
63 #define findpts_el_setup_3 PREFIXED_NAME(findpts_el_setup_3)
64 #define findpts_el_free_3 PREFIXED_NAME(findpts_el_free_3 )
65 #define findpts_el_3 PREFIXED_NAME(findpts_el_3 )
66 #define findpts_el_eval_3 PREFIXED_NAME(findpts_el_eval_3 )
101 const unsigned npt_max);
106 double *
const out_base,
const unsigned out_stride,
107 const double *
const r_base,
const unsigned r_stride,
const unsigned pn,
111 const double *
const x[3])
113 fd->
side_init=0,fd->
x[0]=x[0],fd->
x[1]=x[1],fd->
x[2]=x[2];
#define findpts_el_eval_3
struct findpts_el_gpt_2 pt[4]
void lagrange_fun(double *restrict p, double *restrict data, unsigned n, int d, double x)
#define findpts_el_eval_2
static void findpts_el_start_2(struct findpts_el_data_2 *const fd, const double *const x[2])
static struct findpts_el_pt_3 * findpts_el_points_3(struct findpts_el_data_3 *const fd)
struct findpts_el_gpt_3 pt[8]
static struct findpts_el_pt_2 * findpts_el_points_2(struct findpts_el_data_2 *const fd)
struct findpts_el_gface_3 face[6]
#define findpts_el_setup_2
#define findpts_el_free_2
#define findpts_el_free_3
#define findpts_el_setup_3
static void findpts_el_start_3(struct findpts_el_data_3 *const fd, const double *const x[3])
struct findpts_el_pt_2 * p
struct findpts_el_pt_3 * p
struct findpts_el_gedge_3 edge[12]
struct findpts_el_gedge_2 edge[4]