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 on top of the deal.II library.
5
+
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
6
7
7
## Provided features
8
8
@@ -15,15 +15,46 @@ We provide the following capabilities
15
15
- Distributed memory (MPI) parallelisation of the standard collocation BEM for the Laplace equation.
16
16
- Coupling with a FMM to get a performance improvement.
17
17
- Hybrid Distributed (MPI) - Shared (TBB) 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
+
18
22
19
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 have 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 handling 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 vector containing the 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 representinf the unknowns and performs a full FMM matrix vector product.
20
43
21
44
## Install Procedure
22
45
In order to successfully compile the code you need
23
46
24
47
- to install the [deal.II](https://github.com/dealii/dealii) library allowing both for multiprocessors and multithreaded environment.
25
48
- to install the Trilinos and Metis wrappers of the library, see the official [instructions](https://www.dealii.org/developer/readme.html)
26
-
- to install the pi-BEM library.
49
+
50
+
Then you can clone the repository and compile it
51
+
52
+
git clone https://github.com/mathLab/pi-BEM.git
53
+
cd pi-BEM
54
+
mkdir build
55
+
cd build
56
+
cmake ../
57
+
make -j4
27
58
28
59
After you have compiled your application, you can run
0 commit comments