H2Lib  3.0
singquad1d.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------
2  This is the file "singquad1d.h" of the H2Lib package.
3  All rights reserved, Sven Christophersen 2010-2013
4  ------------------------------------------------------------ */
5 
10 #ifndef SINGQUAD1D_H
11 #define SINGQUAD1D_H
12 
13 /* C STD LIBRARY */
14 #include <math.h>
15 #include <stdio.h>
16 /* CORE 0 */
17 #include "settings.h"
18 /* CORE 1 */
19 #include "gaussquad.h"
20 /* CORE 2 */
21 /* CORE 3 */
22 /* SIMPLE */
23 /* PARTICLES */
24 /* BEM */
25 
31 /* ------------------------------------------------------------
32  Definition of structs and types
33  ------------------------------------------------------------ */
34 
39 struct _singquad1d {
99 };
100 
106 typedef struct _singquad1d singquad1d;
107 
112 
116 typedef const singquad1d *pcsingquad1d;
117 
118 /* ------------------------------------------------------------
119  Constructors and destructors
120  ------------------------------------------------------------ */
121 
136 
152  real alpha);
153 
161 
181  const uint *sv, uint *tp, uint *sp, real (**x), real (**y), real **w,
182  uint *n, real *base);
183 
186 #endif
uint n_dist
Definition: singquad1d.h:88
real * w_single
Quadrature weights for integrals on a single domains.
Definition: singquad1d.h:94
This struct collects all type of quadrature formulas needed by the computation of matrix entries with...
Definition: singquad1d.h:39
real * y_dist
Y-component of quadrature points for singular integrals on distant domains.
Definition: singquad1d.h:82
uint n_id
Number of quadrature points for singular integrals on same domain.
Definition: singquad1d.h:49
uint n_vert
Definition: singquad1d.h:74
unsigned uint
Unsigned integer type.
Definition: settings.h:70
psingquad1d build_pow_singquad1d(uint q, preal x, preal w, real alpha)
All quadrature rules needed for computation of DLP Operator (identical egdes, edges with a common ver...
uint n_single
Definition: singquad1d.h:98
real * w_vert
Quadrature weights for singular integrals on domains sharing a common vertex.
Definition: singquad1d.h:64
void del_singquad1d(psingquad1d sq)
Destructor for singquad1d objects.
real * y_single
Y-component of quadrature points for integrals on a single domains.
Definition: singquad1d.h:92
real * x_vert
X-component of quadrature points for singular integrals on domains sharing a common vertex...
Definition: singquad1d.h:54
real base_id
Constant offset for singular integrals on same domain.
Definition: singquad1d.h:47
real * x_id
X-component of quadrature points for singular integrals on same domain.
Definition: singquad1d.h:41
real * x_dist
X-component of quadrature points for singular integrals on distant domains.
Definition: singquad1d.h:78
real base_vert
Constant offset for singular integrals on domains sharing a common vertex.
Definition: singquad1d.h:69
uint select_quadrature_singquad1d(pcsingquad1d sq, const uint *tv, const uint *sv, uint *tp, uint *sp, real(**x), real(**y), real **w, uint *n, real *base)
This function is designed to select the correct quadrature rule for a current pair of edges...
psingquad1d build_log_singquad1d(uint q, preal x, preal w)
All quadrature rules needed for computation of SLP Operator (identical egdes, edges with a common ver...
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
real * y_vert
Y-component of quadrature points for singular integrals on domains sharing a common vertex...
Definition: singquad1d.h:59
double real
real floating point type.
Definition: settings.h:97
real base_single
Constant offset for integrals on a single domains.
Definition: singquad1d.h:96
real * w_dist
Quadrature weights for singular integrals on distant domains.
Definition: singquad1d.h:84
real * preal
Pointer to real array.
Definition: settings.h:145
singquad1d * psingquad1d
Definition: singquad1d.h:111
const singquad1d * pcsingquad1d
Definition: singquad1d.h:116
real base_dist
Constant offset for singular integrals on distant domains.
Definition: singquad1d.h:86
real * y_id
Y-component of quadrature points for singular integrals on same domain.
Definition: singquad1d.h:43
real * x_single
X-component of quadrature points for integrals on a single domains.
Definition: singquad1d.h:90
real * w_id
Quadrature weights for singular integrals on same domain.
Definition: singquad1d.h:45