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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Core Modules
dune-common
Commits
15d73179
Commit
15d73179
authored
9 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
Improve documentation of the template parameter of the CollectiveCommunication class
parent
747ddcac
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/common/parallel/collectivecommunication.hh
+13
-2
13 additions, 2 deletions
dune/common/parallel/collectivecommunication.hh
with
13 additions
and
2 deletions
dune/common/parallel/collectivecommunication.hh
+
13
−
2
View file @
15d73179
...
...
@@ -66,16 +66,27 @@ namespace Dune
is not visible in the interface, i.e. Dune grid implementations
are not restricted to MPI.
\tparam Communicator The communicator type used by your message-passing implementation.
For MPI this will be MPI_Comm. For sequential codes there is the dummy communicator No_Comm.
It is assumed that if you want to specialize the CollectiveCommunication class for a
message-passing system other than MPI, that message-passing system will have something
equivalent to MPI communicators.
\ingroup ParallelCommunication
*/
template
<
typename
C
>
template
<
typename
C
ommunicator
>
class
CollectiveCommunication
{
public:
//! Construct default object
CollectiveCommunication
()
{}
CollectiveCommunication
(
const
C
&
)
/** \brief Constructor with a given communicator
*
* As this is implementation for the sequential setting, the communicator is a dummy and simply discarded.
*/
CollectiveCommunication
(
const
Communicator
&
)
{}
//! Return rank, is between 0 and size()-1
...
...
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