You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library represents a parallel solver for the Laplace equation through Boundary Element Methods. We have developed the software in C++ on top of the [deal.II](https://github.com/dealii/dealii) library.
6
+
7
+
## Provided features
8
+
9
+
We provide the following capabilities
10
+
11
+
- Read of the grid through an external file in one of the following formats (.prm, .msh, .vtk), the files specifies the kind of boundary condition to be applied on the nodes.
12
+
- Possibility of solving mixed Dirichlet Neumann boundary value problem.
13
+
- Automatic treatment of sharp edges via the double nodes technique.
14
+
- Usage of Lagrangian Finite Elements of arbitrary order. We also provide interfaces with discontinuous elements.
15
+
- Distributed memory (MPI) parallelisation of the standard collocation BEM for the Laplace equation.
16
+
- Coupling with a Fast Multiple Method (FMM) to get a performance improvement.
17
+
- Hybrid Distributed (MPI) - Shared (Intel Threaded Building Block) memory parallelisation for the BEM-FMM code
18
+
- Recovery of both primal (potential) and dual (potential normal derivative) unknowns.
19
+
- L2 projection of the full 3D potential gradient for post processing.
20
+
- Extensive tuning via parameter file using the [deal2lkit](https://github.com/mathLab/deal2lkit) library
21
+
22
+
23
+
## Code Structure
24
+
We have subdivided the code in main classes to handle the many different aspects of a complete BEM simulation.
25
+
26
+
- Driver. This class is in charge of organising the overall BEM simulation. It has interfaces with all the other classes in order to perform a complete simulation.
27
+
- ComputationalDomain. This class handles, and provides to the other classes, ONLY the geometry of the problem. In particular
28
+
- it handles the domain decomposition using a graph partitioning tool (METIS);
29
+
- it reads the domain from an external file.
30
+
- BoundaryCondition. The class handles the boundary conditions. In particular
31
+
- it reads the boundary conditions for the potential and its normal derivative;
32
+
- given the peculiarities of the BEM, the boundary conditions represent the actual unknowns, thus it creates the vectors containing the two variables and fills them with the proper data;
33
+
- it performs the error analysis on both unknowns.
34
+
35
+
- BEMProblem. This class is the core of the BEM simulation
36
+
- it receives the variables vector filled in with the proper boundary condition;
37
+
- it creates the codimension 1 functional space setting up the BEM;
38
+
- it solves the system using a preconditioned parallel GMRES solver;
39
+
- it eventually interacts with the FMM accelerator.
40
+
- BEMFMA. This class handles the accelerator, in particular
41
+
- it sets up an hierarchical 3D space subdivision (octree);
42
+
- it receives two distributed vectors representing the unknowns and performs a full FMM matrix vector product.
43
+
44
+
## Install Procedure
45
+
In order to successfully compile the code you need
46
+
47
+
- to install the Trilinos and Metis wrappers of the library, see the official [instructions](https://www.dealii.org/developer/readme.html)
48
+
- to install the [deal.II](https://github.com/dealii/dealii) library allowing both for multiprocessors and multithreaded environment.
49
+
- to install the [deal2lkit](https://github.com/mathLab/deal2lkit) library allowing both for multiprocessors and multithreaded environment.
50
+
51
+
52
+
Then you can clone the repository and compile it
53
+
54
+
git clone https://github.com/mathLab/pi-BEM.git
55
+
cd pi-BEM
56
+
mkdir build
57
+
cd build
58
+
cmake ../
59
+
make -j4
60
+
6
61
After you have compiled your application, you can run
7
62
8
63
make test
@@ -17,8 +72,7 @@ Take a look at
17
72
https://www.dealii.org/developer/developers/testsuite.html for more
18
73
information on how to create tests and add categories of tests.
19
74
20
-
Notice to developers
21
-
====================
75
+
#Notice to developers
22
76
23
77
Before making a pull request, please make sure you run the script
24
78
@@ -30,10 +84,9 @@ white space changes are inserted in the repository.
30
84
The script requires Artistic Style Version 2.04 (astyle) to work
31
85
properly.
32
86
33
-
Licence
34
-
=======
87
+
#Licence
35
88
36
-
Please see the file ./LICENSE for details
89
+
Please see the file [./LICENSE](https://github.com/mathLab/pi-BEM/blob/master/LICENSE) for details
Copy file name to clipboardExpand all lines: include/boundary_conditions.h
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,12 @@
76
76
#include<deal2lkit/parsed_data_out.h>
77
77
#include<deal2lkit/utilities.h>
78
78
79
+
/**
80
+
* - BoundaryCondition. The class handles the boundary conditions. In particular
81
+
* - it reads the boundary conditions for the potential and its normal derivative;
82
+
* - given the peculiarities of the BEM, the boundary conditions represent the actual unknowns, thus it creates the vectors containing the variables and fills them with the proper data;
83
+
* - it performs the error analysis on both unknowns.
* This class is in charge of organising the overall BEM simulation. It has interfaces with all the other classes in order to have a complete simulation.
0 commit comments