Skip to content

Commit 0fcc8fc

Browse files
done readme
1 parent b73a590 commit 0fcc8fc

1 file changed

Lines changed: 33 additions & 2 deletions

File tree

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/mathLab/pi-BEM.svg?branch=master)](https://travis-ci.org/mathLab/pi-BEM)
44

5-
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.
66

77
## Provided features
88

@@ -15,15 +15,46 @@ We provide the following capabilities
1515
- Distributed memory (MPI) parallelisation of the standard collocation BEM for the Laplace equation.
1616
- Coupling with a FMM to get a performance improvement.
1717
- 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+
1822

1923
## 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.
2043

2144
## Install Procedure
2245
In order to successfully compile the code you need
2346

2447
- to install the [deal.II](https://github.com/dealii/dealii) library allowing both for multiprocessors and multithreaded environment.
2548
- 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
2758

2859
After you have compiled your application, you can run
2960

0 commit comments

Comments
 (0)