Skip to content

Commit a6560eb

Browse files
added some documentation for the classes
1 parent 0fcc8fc commit a6560eb

6 files changed

Lines changed: 29 additions & 2 deletions

File tree

Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = "Parallel BEM Solver for deal.II"
35+
PROJECT_NAME = "pi-BEM: a parallel BEM solver for deal.II"
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version

include/bem_fma.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ namespace Operator
4040
using namespace dealii;
4141
using namespace deal2lkit;
4242

43+
/**
44+
* A class for the handling of the Fast Multiple Method coupled with the Bundary Element Method.
45+
* It is derived from ParameterAcceptor to have a common interface with parameter files. In
46+
* particular this class performs the matrix vector products approximating long range interactions
47+
* via Multipole and Local Expansions that are contained in dedicated classes.
48+
49+
*/
4350
template <int dim>//, Type V>
4451
class BEMFMA : public ParameterAcceptor
4552
{

include/bem_problem.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ using namespace deal2lkit;
101101
//using namespace TrilinosWrappers;
102102
//using namespace TrilinosWrappers::MPI;
103103

104+
/**
105+
* - BEMProblem. This class is the core of the BEM simulation
106+
* - it receives the variables vector filled in with the proper boundary condition;
107+
* - it creates the codimension 1 functional space setting up the BEM;
108+
* - it solves the system using a preconditioned parallel GMRES solver;
109+
* - it eventually interacts with the FMM accelerator.
110+
*/
104111
template <int dim>
105112
class BEMProblem : public ParameterAcceptor
106113
{

include/boundary_conditions.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
#include <deal2lkit/parsed_data_out.h>
7777
#include <deal2lkit/utilities.h>
7878

79+
/**
80+
* - BoundaryCondition. The class handling 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 vector containing the variables and fills them with the proper data;
83+
* - it performs the error analysis on both unknowns.
84+
*/
7985
template <int dim>
8086
class BoundaryConditions : public ParameterAcceptor
8187
{

include/computational_domain.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@
6767
using namespace dealii;
6868
using namespace deal2lkit;
6969

70+
/**
71+
* - ComputationalDomain. This class handles, and provides to the other classes, ONLY the geometry of the problem. In particular
72+
* - it handles the domain decomposition using a graph partitioning tool (METIS);
73+
* - it reads the domain from an external file.
74+
*/
7075
template <int dim>
7176
class ComputationalDomain : public ParameterAcceptor
7277
{

include/driver.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ using namespace dealii;
6969
//using namespace TrilinosWrappers::MPI::Vector;
7070
//using namespace TrilinosWrappers::MPI::SparseMatrix;
7171

72-
72+
/**
73+
* 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.
74+
*/
7375
template <int dim>
7476
class Driver : public ParameterAcceptor
7577
{

0 commit comments

Comments
 (0)