H2Lib  3.0
laplacebem3d.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------
2  This is the file "laplacebem3d.h" of the H2Lib package.
3  All rights reserved, Sven Christophersen 2011
4  ------------------------------------------------------------ */
5 
12 #ifndef LAPLACEBEM3D_H_
13 #define LAPLACEBEM3D_H_
14 
15 /* C STD LIBRARY */
16 /* CORE 0 */
17 #include "settings.h"
18 #include "parameters.h"
19 /* CORE 1 */
20 /* CORE 2 */
21 /* CORE 3 */
22 /* SIMPLE */
23 /* PARTICLES */
24 /* BEM */
25 #include "bem3d.h"
26 
35 #define KERNEL_CONST_LAPLACEBEM3D 0.0795774715459476679
36 
37 /* ------------------------------------------------------------
38  Constructors and destructors
39  ------------------------------------------------------------ */
40 
65  uint q_singular, basisfunctionbem3d row_basis, basisfunctionbem3d col_basis);
66 
94  uint q_singular, basisfunctionbem3d row_basis, basisfunctionbem3d col_basis,
95  field alpha);
96 
124 new_adlp_laplace_bem3d(pcsurface3d gr, uint q_regular, uint q_singular,
125  basisfunctionbem3d row_basis, basisfunctionbem3d col_basis, field alpha);
126 
133 
134 /* ------------------------------------------------------------
135  Examples for Dirichlet- / Neumann-data to test linear system
136  ------------------------------------------------------------ */
137 
161  const real *n, void *data);
162 
186  const real *n, void *data);
187 
211  const real *n, void *data);
212 
237  const real *n, void *data);
238 
264  const real *n, void *data);
290  const real *n, void *data);
291 
317  const real *n, void *data);
343  const real *n, void *data);
344 
347 #endif /* LAPLACEBEM3D_H_ */
void del_laplace_bem3d(pbem3d bem)
Delete a bem3d object for the Laplace equation.
field eval_neumann_linear_laplacebem3d(const real *x, const real *n, void *data)
A simple linear harmonic function that will serve as neumann values.
field eval_dirichlet_linear_laplacebem3d(const real *x, const real *n, void *data)
A simple linear harmonic function that will serve as dirichlet values.
field eval_dirichlet_quadratic_laplacebem3d(const real *x, const real *n, void *data)
A simple quadratic harmonic function that will serve as dirichlet values.
pbem3d new_adlp_laplace_bem3d(pcsurface3d gr, uint q_regular, uint q_singular, basisfunctionbem3d row_basis, basisfunctionbem3d col_basis, field alpha)
Creates a new bem3d-object for computation of adjoint double layer potential matrix plus a scalar tim...
unsigned uint
Unsigned integer type.
Definition: settings.h:70
field eval_dirichlet_fundamental2_laplacebem3d(const real *x, const real *n, void *data)
A harmonic function based upon the fundamental solution, that will serve as dirichlet values...
field eval_neumann_quadratic_laplacebem3d(const real *x, const real *n, void *data)
A simple quadratic harmonic function that will serve as neumann values.
double _Complex field
Field type.
Definition: settings.h:171
field eval_dirichlet_fundamental_laplacebem3d(const real *x, const real *n, void *data)
A harmonic function based upon the fundamental solution, that will serve as dirichlet values...
field eval_neumann_fundamental_laplacebem3d(const real *x, const real *n, void *data)
A harmonic function based upon the fundamental solution, that will serve as neumann values...
pbem3d new_slp_laplace_bem3d(pcsurface3d gr, uint q_regular, uint q_singular, basisfunctionbem3d row_basis, basisfunctionbem3d col_basis)
Creates a new bem3d-object for computation of single layer potential matrix of the Laplace equation...
field eval_neumann_fundamental2_laplacebem3d(const real *x, const real *n, void *data)
A harmonic function based upon the fundamental solution, that will serve as neumann values...
Representation of a triangle surface mesh.
Definition: surface3d.h:45
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
double real
real floating point type.
Definition: settings.h:97
pbem3d new_dlp_laplace_bem3d(pcsurface3d gr, uint q_regular, uint q_singular, basisfunctionbem3d row_basis, basisfunctionbem3d col_basis, field alpha)
Creates a new bem3d-object for computation of double layer potential matrix plus a scalar times the m...
enum _basisfunctionbem3d basisfunctionbem3d
Definition: bem3d.h:181
Main container object for computation of BEM related matrices and vectors.
Definition: bem3d.h:290