v0.14.0
gm_rule.h
Go to the documentation of this file.
1 #ifndef GM_RULE_H_
2 #define GM_RULE_H_
3 
4 void comp_next ( int n, int k, int a[], int *more, int *h, int *t );
5 void gm_rule_set ( int rule, int dim_num, int point_num, double w[],
6  double x[] );
7 int gm_rule_size ( int rule, int dim_num );
8 int i4_choose ( int n, int k );
9 int i4_huge ( void );
10 int i4_max ( int i1, int i2 );
11 int i4_min ( int i1, int i2 );
12 int i4_power ( int i, int j );
13 double *monomial_value ( int dim_num, int point_num, double x[], int expon[] );
14 double r8_abs ( double x );
15 double r8_factorial ( int n );
16 double r8vec_dot ( int n, double a1[], double a2[] );
17 double *r8vec_uniform_01 ( int n, int *seed );
18 double simplex_unit_monomial_int ( int dim_num, int expon[] );
19 double simplex_unit_monomial_quadrature ( int dim_num, int expon[],
20  int point_num, double x[], double w[] );
21 double *simplex_unit_sample ( int dim_num, int n, int *seed );
22 double *simplex_unit_to_general ( int dim_num, int point_num, double t[],
23  double ref[] );
24 double simplex_unit_volume ( int dim_num );
25 void timestamp ( void );
26 
27 #endif
a2
constexpr double a2
Definition: hcurl_check_approx_in_2d.cpp:39
r8vec_uniform_01
double * r8vec_uniform_01(int n, int *seed)
simplex_unit_to_general
double * simplex_unit_to_general(int dim_num, int point_num, double t[], double ref[])
Definition: gm_rule.c:1137
simplex_unit_sample
double * simplex_unit_sample(int dim_num, int n, int *seed)
Definition: gm_rule.c:1052
monomial_value
double * monomial_value(int dim_num, int point_num, double x[], int expon[])
Definition: gm_rule.c:619
simplex_unit_volume
double simplex_unit_volume(int dim_num)
Definition: gm_rule.c:1224
i4_huge
int i4_huge(void)
Definition: gm_rule.c:428
simplex_unit_monomial_quadrature
double simplex_unit_monomial_quadrature(int dim_num, int expon[], int point_num, double x[], double w[])
Definition: gm_rule.c:986
i4_max
int i4_max(int i1, int i2)
Definition: gm_rule.c:459
a1
constexpr double a1
Definition: hcurl_check_approx_in_2d.cpp:38
a
constexpr double a
Definition: approx_sphere.cpp:30
comp_next
void comp_next(int n, int k, int a[], int *more, int *h, int *t)
Definition: gm_rule.c:10
timestamp
void timestamp(void)
Definition: gm_rule.c:1268
h
double h
Definition: photon_diffusion.cpp:60
i4_min
int i4_min(int i1, int i2)
Definition: gm_rule.c:500
i4_power
int i4_power(int i, int j)
Definition: gm_rule.c:541
t
constexpr double t
plate stiffness
Definition: plate.cpp:58
i
FTensor::Index< 'i', SPACE_DIM > i
Definition: hcurl_divergence_operator_2d.cpp:27
convert.n
n
Definition: convert.py:82
gm_rule_size
int gm_rule_size(int rule, int dim_num)
Definition: gm_rule.c:294
simplex_unit_monomial_int
double simplex_unit_monomial_int(int dim_num, int expon[])
Definition: gm_rule.c:918
j
FTensor::Index< 'j', 3 > j
Definition: matrix_function.cpp:19
i4_choose
int i4_choose(int n, int k)
Definition: gm_rule.c:353
sdf_wavy_2d.w
int w
Definition: sdf_wavy_2d.py:6
r8vec_dot
double r8vec_dot(int n, double a1[], double a2[])
k
FTensor::Index< 'k', 3 > k
Definition: matrix_function.cpp:20
gm_rule_set
void gm_rule_set(int rule, int dim_num, int point_num, double w[], double x[])
Definition: gm_rule.c:152
r8_factorial
double r8_factorial(int n)
Definition: gm_rule.c:730
r8_abs
double r8_abs(double x)
Definition: gm_rule.c:689