Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
f7e10e2c
Commit
f7e10e2c
authored
17 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
improved documentation of MPIHelper & CollectiveCommunication
[[Imported from SVN: r4968]]
parent
6ca2ec59
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common/collectivecommunication.hh
+16
-1
16 additions, 1 deletion
common/collectivecommunication.hh
common/mpicollectivecommunication.hh
+1
-2
1 addition, 2 deletions
common/mpicollectivecommunication.hh
common/mpihelper.hh
+6
-1
6 additions, 1 deletion
common/mpihelper.hh
with
23 additions
and
4 deletions
common/collectivecommunication.hh
+
16
−
1
View file @
f7e10e2c
...
...
@@ -9,10 +9,25 @@
#include
"exceptions.hh"
/*! \defgroup ParallelCommunication Parallel Communication
\ingroup Common
Dune offers an abstraction to the basic methods of parallel
communication. It allows to switch parallel features on and of,
without changing the code.
*/
namespace
Dune
{
/*! @brief Collective communication interface and sequential default implementation
CollectiveCommunication offers an abstraction to the basic methods
of parallel communication, following the message-passing
paradigm. It allows to switch parallel features on and of, without
changing the code. Currently only MPI and sequential code are
supported.
A CollectiveCommunication object is returned by all grids (also
the sequential ones) in order to allow code to be written in
a transparent way for sequential and parallel grids.
...
...
@@ -29,7 +44,7 @@ namespace Dune
is not visible in the interface, i.e. Dune grid implementations
are not restricted to MPI.
\ingroup
GICollective
Communication
\ingroup
Parallel
Communication
*/
template
<
typename
C
>
class
CollectiveCommunication
...
...
This diff is collapsed.
Click to expand it.
common/mpicollectivecommunication.hh
+
1
−
2
View file @
f7e10e2c
...
...
@@ -16,7 +16,6 @@
// MPI header
#include
<mpi.h>
namespace
Dune
{
//=======================================================
...
...
@@ -183,7 +182,7 @@ namespace Dune
//=======================================================
/*! \brief Specialization of CollectiveCommunication for MPI
\ingroup
GICollective
Communication
\ingroup
Parallel
Communication
*/
template
<
>
class
CollectiveCommunication
<
MPI_Comm
>
...
...
This diff is collapsed.
Click to expand it.
common/mpihelper.hh
+
6
−
1
View file @
f7e10e2c
...
...
@@ -16,6 +16,7 @@ namespace Dune
/**
* @file
* @brief This file contains helpers for dealing with MPI.
* @ingroup ParallelCommunication
*
* Basically there are two helpers available:
* <dl>
...
...
@@ -126,6 +127,7 @@ namespace Dune
#if HAVE_MPI
/**
* @brief A real mpi helper.
* @ingroup ParallelCommunication
*
* This helper should be used for parallel programs.
*/
...
...
@@ -215,7 +217,10 @@ namespace Dune
#else
// We do not have MPI therefore FakeMPIHelper
// is the MPIHelper
/** @brief If no MPI is available FakeMPIHelper becomes the MPIHelper */
/**
* @brief If no MPI is available FakeMPIHelper becomes the MPIHelper
* @ingroup ParallelCommunication
*/
typedef
FakeMPIHelper
MPIHelper
;
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment