Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
findpts.h
Go to the documentation of this file.
1 #ifndef FINDPTS_H
2 #define FINDPTS_H
3 
4 #if !defined(COMM_H)
5 #warning "findpts.h" requires "comm.h"
6 #endif
7 
8 #define findpts_setup_2 PREFIXED_NAME(findpts_setup_2)
9 #define findpts_free_2 PREFIXED_NAME(findpts_free_2 )
10 #define findpts_2 PREFIXED_NAME(findpts_2 )
11 #define findpts_eval_2 PREFIXED_NAME(findpts_eval_2 )
12 #define findpts_setup_3 PREFIXED_NAME(findpts_setup_3)
13 #define findpts_free_3 PREFIXED_NAME(findpts_free_3 )
14 #define findpts_3 PREFIXED_NAME(findpts_3 )
15 #define findpts_eval_3 PREFIXED_NAME(findpts_eval_3 )
16 
17 struct findpts_data_2;
18 struct findpts_data_3;
19 
20 struct findpts_data_2 *findpts_setup_2(
21  const struct comm *const comm,
22  const double *const elx[2],
23  const unsigned n[2], const uint nel,
24  const unsigned m[2], const double bbox_tol,
25  const uint local_hash_size, const uint global_hash_size,
26  const unsigned npt_max, const double newt_tol);
27 
28 struct findpts_data_3 *findpts_setup_3(
29  const struct comm *const comm,
30  const double *const elx[3],
31  const unsigned n[3], const uint nel,
32  const unsigned m[3], const double bbox_tol,
33  const uint local_hash_size, const uint global_hash_size,
34  const unsigned npt_max, const double newt_tol);
35 
36 void findpts_free_2(struct findpts_data_2 *fd);
37 void findpts_free_3(struct findpts_data_3 *fd);
38 
39 void findpts_2( uint *const code_base , const unsigned code_stride ,
40  uint *const proc_base , const unsigned proc_stride ,
41  uint *const el_base , const unsigned el_stride ,
42  double *const r_base , const unsigned r_stride ,
43  double *const dist2_base , const unsigned dist2_stride ,
44  const double *const x_base[2], const unsigned x_stride[2],
45  const uint npt, struct findpts_data_2 *const fd);
46 
47 void findpts_3( uint *const code_base , const unsigned code_stride ,
48  uint *const proc_base , const unsigned proc_stride ,
49  uint *const el_base , const unsigned el_stride ,
50  double *const r_base , const unsigned r_stride ,
51  double *const dist2_base , const unsigned dist2_stride ,
52  const double *const x_base[3], const unsigned x_stride[3],
53  const uint npt, struct findpts_data_3 *const fd);
54 
55 void findpts_eval_2(
56  double *const out_base, const unsigned out_stride,
57  const uint *const code_base, const unsigned code_stride,
58  const uint *const proc_base, const unsigned proc_stride,
59  const uint *const el_base, const unsigned el_stride,
60  const double *const r_base, const unsigned r_stride,
61  const uint npt,
62  const double *const in, struct findpts_data_2 *const fd);
63 
64 void findpts_eval_3(
65  double *const out_base, const unsigned out_stride,
66  const uint *const code_base, const unsigned code_stride,
67  const uint *const proc_base, const unsigned proc_stride,
68  const uint *const el_base, const unsigned el_stride,
69  const double *const r_base, const unsigned r_stride,
70  const uint npt,
71  const double *const in, struct findpts_data_3 *const fd);
72 
73 #endif
#define uint
Definition: types.h:70
#define findpts_free_3
Definition: findpts.h:13
n
Definition: xxt_test.m:73
#define findpts_free_2
Definition: findpts.h:9
#define findpts_2
Definition: findpts.h:10
Definition: comm.h:85
#define findpts_setup_3
Definition: findpts.h:12
#define findpts_setup_2
Definition: findpts.h:8
#define findpts_eval_3
Definition: findpts.h:15
static double elx[NR *NS]
#define findpts_3
Definition: findpts.h:14
#define findpts_eval_2
Definition: findpts.h:11