-
Notifications
You must be signed in to change notification settings - Fork 41
New read me #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
New read me #1
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,63 @@ | ||
| Parallel BEM Solver for deal.II | ||
| =============================== | ||
| #Parallel BEM Solver for deal.II | ||
|
|
||
| [](https://travis-ci.org/mathLab/pi-BEM) | ||
|
|
||
| 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. | ||
|
|
||
| ## Provided features | ||
|
|
||
| We provide the following capabilities | ||
|
|
||
| - 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. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. read of --> input? |
||
| - Possibility of solving mixed Dirichlet Neumann boundary value problem. | ||
| - Automatic treatment of sharp edges via the double nodes technique. | ||
| - Usage of Lagrangian Finite Elements of arbitrary order. We also provide interfaces with discontinuous elements. | ||
| - Distributed memory (MPI) parallelisation of the standard collocation BEM for the Laplace equation. | ||
| - Coupling with a Fast Multiple Method (FMM) to get a performance improvement. | ||
| - Hybrid Distributed (MPI) - Shared (Intel Threaded Building Block) memory parallelisation for the BEM-FMM code | ||
| - Recovery of both primal (potential) and dual (potential normal derivative) unknowns. | ||
| - L2 projection of the full 3D potential gradient for post processing. | ||
| - Extensive tuning via parameter file using the [deal2lkit](https://github.com/mathLab/deal2lkit) library | ||
|
|
||
|
|
||
| ## Code Structure | ||
| We have subdivided the code in main classes to handle the many different aspects of a complete BEM simulation. | ||
|
|
||
| - 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. | ||
| - ComputationalDomain. This class handles, and provides to the other classes, ONLY the geometry of the problem. In particular | ||
| - it handles the domain decomposition using a graph partitioning tool (METIS); | ||
| - it reads the domain from an external file. | ||
| - BoundaryCondition. The class handles the boundary conditions. In particular | ||
| - it reads the boundary conditions for the potential and its normal derivative; | ||
| - 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; | ||
| - it performs the error analysis on both unknowns. | ||
|
|
||
| - BEMProblem. This class is the core of the BEM simulation | ||
| - it receives the variables vector filled in with the proper boundary condition; | ||
| - it creates the codimension 1 functional space setting up the BEM; | ||
| - it solves the system using a preconditioned parallel GMRES solver; | ||
| - it eventually interacts with the FMM accelerator. | ||
| - BEMFMA. This class handles the accelerator, in particular | ||
| - it sets up an hierarchical 3D space subdivision (octree); | ||
| - it receives two distributed vectors representing the unknowns and performs a full FMM matrix vector product. | ||
|
|
||
| ## Install Procedure | ||
| In order to successfully compile the code you need | ||
|
|
||
| - to install the Trilinos and Metis wrappers of the library, see the official [instructions](https://www.dealii.org/developer/readme.html) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess it is better to install Trilinos first and dealii afterwards :). deal2lkit? |
||
| - to install the [deal.II](https://github.com/dealii/dealii) library allowing both for multiprocessors and multithreaded environment. | ||
| - to install the [deal2lkit](https://github.com/mathLab/deal2lkit) library allowing both for multiprocessors and multithreaded environment. | ||
|
|
||
|
|
||
| Then you can clone the repository and compile it | ||
|
|
||
| git clone https://github.com/mathLab/pi-BEM.git | ||
| cd pi-BEM | ||
| mkdir build | ||
| cd build | ||
| cmake ../ | ||
| make -j4 | ||
|
|
||
| After you have compiled your application, you can run | ||
|
|
||
| make test | ||
|
|
@@ -17,8 +72,7 @@ Take a look at | |
| https://www.dealii.org/developer/developers/testsuite.html for more | ||
| information on how to create tests and add categories of tests. | ||
|
|
||
| Notice to developers | ||
| ==================== | ||
| #Notice to developers | ||
|
|
||
| Before making a pull request, please make sure you run the script | ||
|
|
||
|
|
@@ -30,10 +84,9 @@ white space changes are inserted in the repository. | |
| The script requires Artistic Style Version 2.04 (astyle) to work | ||
| properly. | ||
|
|
||
| Licence | ||
| ======= | ||
| #Licence | ||
|
|
||
| Please see the file ./LICENSE for details | ||
| Please see the file [./LICENSE](https://github.com/mathLab/pi-BEM/blob/master/LICENSE) for details | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
represents --> features, provides?