H2Lib  3.0
laplacebem2d.h
Go to the documentation of this file.
1 
2 /* ------------------------------------------------------------
3  * This is the file "laplacebem2d.h" of the H2Lib package.
4  * All rights reserved, Sven Christophersen 2011
5  * ------------------------------------------------------------ */
6 
13 #ifndef LAPLACEBEM2D_H_
14 #define LAPLACEBEM2D_H_
15 
16 /* C STD LIBRARY */
17 /* CORE 0 */
18 #include "basic.h"
19 #include "parameters.h"
20 /* CORE 1 */
21 /* CORE 2 */
22 /* CORE 3 */
23 /* SIMPLE */
24 /* PARTICLES */
25 /* BEM */
26 #include "bem2d.h"
27 
33 /* ------------------------------------------------------------
34  * Constructors and destructors
35  * ------------------------------------------------------------ */
36 
56 
79  basisfunctionbem2d basis_dirichlet, field alpha);
80 
81 /* ------------------------------------------------------------
82  Examples for Dirichlet- / Neumann-data to test linear system
83  ------------------------------------------------------------ */
84 
106 eval_dirichlet_linear_laplacebem2d(const real *x, const real *n);
107 
129 eval_neumann_linear_laplacebem2d(const real *x, const real *n);
130 
153 
175 eval_neumann_quadratic_laplacebem2d(const real *x, const real *n);
176 
179 #endif /* LAPLACEBEM2D_H_ */
pbem2d new_dlp_laplace_bem2d(pccurve2d gr, uint q, basisfunctionbem2d basis_neumann, basisfunctionbem2d basis_dirichlet, field alpha)
Creates a new bem2d-object for computation of double layer potential matrix.
field eval_neumann_linear_laplacebem2d(const real *x, const real *n)
A simple linear harmonic function that will serve as neumann values.
Representation of a polygon in 2D.
Definition: curve2d.h:46
field eval_dirichlet_quadratic_laplacebem2d(const real *x, const real *n)
A simple quadratic harmonic function that will serve as dirichlet values.
field eval_dirichlet_linear_laplacebem2d(const real *x, const real *n)
A simple linear harmonic function that will serve as dirichlet values.
enum _basisfunctionbem2d basisfunctionbem2d
Definition: bem2d.h:170
unsigned uint
Unsigned integer type.
Definition: settings.h:70
double _Complex field
Field type.
Definition: settings.h:171
field eval_neumann_quadratic_laplacebem2d(const real *x, const real *n)
A simple quadratic harmonic function that will serve as neumann values.
Main container object for computation of BEM related matrices and vectors.
Definition: bem2d.h:205
pbem2d new_slp_laplace_bem2d(pccurve2d gr, uint q, basisfunctionbem2d basis)
Creates a new bem2d-object for computation of single layer potential matrix.
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
double real
real floating point type.
Definition: settings.h:97