geompack.H
Go to the documentation of this file.
1 double d_epsilon ( void );
2 double d_max ( double x, double y );
3 double d_min ( double x, double y );
4 void d2vec_part_quick_a ( int n, double a[], int *l, int *r );
5 void d2vec_permute ( int n, double a[], int p[] );
6 int *d2vec_sort_heap_index_a ( int n, double a[] );
7 void d2vec_sort_quick_a ( int n, double a[] );
8 int diaedg ( double x0, double y0, double x1, double y1, double x2, double y2,
9  double x3, double y3 );
10 void dmat_transpose_print ( int m, int n, double a[], const char *title );
11 void dmat_transpose_print_some ( int m, int n, double a[], int ilo, int jlo,
12  int ihi, int jhi, const char *title );
13 void dmat_uniform ( int m, int n, double b, double c, int *seed, double r[] );
14 int dtris2 ( int point_num, double point_xy[], int *tri_num,
15  int tri_vert[], int tri_nabe[] );
16 bool dvec_eq ( int n, double a1[], double a2[] );
17 bool dvec_gt ( int n, double a1[], double a2[] );
18 bool dvec_lt ( int n, double a1[], double a2[] );
19 void dvec_print ( int n, double a[], const char *title );
20 void dvec_swap ( int n, double a1[], double a2[] );
21 int i_max ( int i1, int i2 );
22 int i_min ( int i1, int i2 );
23 int i_modp ( int i, int j );
24 int i_sign ( int i );
25 int i_wrap ( int ival, int ilo, int ihi );
26 void imat_transpose_print ( int m, int n, int a[], const char *title );
27 void imat_transpose_print_some ( int m, int n, int a[], int ilo, int jlo,
28  int ihi, int jhi, const char *title );
29 void ivec_heap_d ( int n, int a[] );
30 int *ivec_indicator ( int n );
31 void ivec_sort_heap_a ( int n, int a[] );
32 void ivec_sorted_unique ( int n, int a[], int *nuniq );
33 int lrline ( double xu, double yu, double xv1, double yv1, double xv2,
34  double yv2, double dv );
35 bool perm_check ( int n, int p[] );
36 void perm_inv ( int n, int p[] );
37 int *points_delaunay_naive_2d ( int n, double p[], int *ntri );
38 int s_len_trim ( const char *s );
39 int swapec ( int i, int *top, int *btri, int *bedg, int point_num,
40  double point_xy[], int tri_num, int tri_vert[], int tri_nabe[],
41  int stack[] );
42 void timestamp ( void );
43 char *timestring ( void );
44 double *triangle_circumcenter_2d ( double t[] );
45 bool triangulation_plot_eps ( const char *file_out_name,
46  int g_num, double g_xy[], int tri_num, int nod_tri[] );
47 void triangulation_print ( int point_num, double xc[], int tri_num,
48  int tri_vert[], int tri_nabe[] );
49 void vbedg ( double x, double y, int point_num, double point_xy[], int tri_num,
50  int tri_vert[], int tri_nabe[], int *ltri, int *ledg, int *rtri, int *redg );
scalar y
label n
void timestamp(void)
Definition: geompack.C:2886
int lrline(double xu, double yu, double xv1, double yv1, double xv2, double yv2, double dv)
Definition: geompack.C:2199
void dvec_print(int n, double a[], const char *title)
Definition: geompack.C:1445
int dtris2(int point_num, double point_xy[], int *tri_num, int tri_vert[], int tri_nabe[])
Definition: geompack.C:949
int * d2vec_sort_heap_index_a(int n, double a[])
Definition: geompack.C:380
void vbedg(double x, double y, int point_num, double point_xy[], int tri_num, int tri_vert[], int tri_nabe[], int *ltri, int *ledg, int *rtri, int *redg)
Definition: geompack.C:3446
int i_modp(int i, int j)
Definition: geompack.C:1597
void imat_transpose_print(int m, int n, int a[], const char *title)
Definition: geompack.C:1783
double d_min(double x, double y)
Definition: geompack.C:91
void imat_transpose_print_some(int m, int n, int a[], int ilo, int jlo, int ihi, int jhi, const char *title)
Definition: geompack.C:1816
int i_max(int i1, int i2)
Definition: geompack.C:1527
void d2vec_sort_quick_a(int n, double a[])
Definition: geompack.C:510
void triangulation_print(int point_num, double xc[], int tri_num, int tri_vert[], int tri_nabe[])
Definition: geompack.C:3276
int * ivec_indicator(int n)
Definition: geompack.C:2037
void perm_inv(int n, int p[])
Definition: geompack.C:2342
void dmat_transpose_print_some(int m, int n, double a[], int ilo, int jlo, int ihi, int jhi, const char *title)
Definition: geompack.C:776
bool perm_check(int n, int p[])
Definition: geompack.C:2284
char * timestring(void)
Definition: geompack.C:2933
int swapec(int i, int *top, int *btri, int *bedg, int point_num, double point_xy[], int tri_num, int tri_vert[], int tri_nabe[], int stack[])
Definition: geompack.C:2608
void ivec_sort_heap_a(int n, int a[])
Definition: geompack.C:2074
double * triangle_circumcenter_2d(double t[])
Definition: geompack.C:2976
void d2vec_permute(int n, double a[], int p[])
Definition: geompack.C:255
bool dvec_eq(int n, double a1[], double a2[])
Definition: geompack.C:1297
void ivec_sorted_unique(int n, int a[], int *nuniq)
Definition: geompack.C:2148
int i_min(int i1, int i2)
Definition: geompack.C:1562
int s_len_trim(const char *s)
Definition: geompack.C:2564
void d2vec_part_quick_a(int n, double a[], int *l, int *r)
Definition: geompack.C:125
void dmat_transpose_print(int m, int n, double a[], const char *title)
Definition: geompack.C:745
int * points_delaunay_naive_2d(int n, double p[], int *ntri)
Definition: geompack.C:2429
int i_sign(int i)
Definition: geompack.C:1672
double d_max(double x, double y)
Definition: geompack.C:57
bool dvec_lt(int n, double a1[], double a2[])
Definition: geompack.C:1392
int diaedg(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)
Definition: geompack.C:628
double d_epsilon(void)
Definition: geompack.C:15
bool triangulation_plot_eps(const char *file_out_name, int g_num, double g_xy[], int tri_num, int nod_tri[])
Definition: geompack.C:3049
int i_wrap(int ival, int ilo, int ihi)
Definition: geompack.C:1711
void dmat_uniform(int m, int n, double b, double c, int *seed, double r[])
Definition: geompack.C:862
void ivec_heap_d(int n, int a[])
Definition: geompack.C:1913
void dvec_swap(int n, double a1[], double a2[])
Definition: geompack.C:1490
bool dvec_gt(int n, double a1[], double a2[])
Definition: geompack.C:1338
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
volScalarField & b
Definition: createFields.H:25
const dimensionedScalar c
Speed of light in a vacuum.
dimensionedScalar y0(const dimensionedScalar &ds)
dimensionedScalar y1(const dimensionedScalar &ds)
volScalarField & p