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
5cefba4b
Commit
5cefba4b
authored
10 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
[bugfix,documentation] 'root' is an input argument, not an output one
parent
828849a0
No related branches found
Branches containing commit
No related tags found
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
+5
-5
5 additions, 5 deletions
dune/common/parallel/collectivecommunication.hh
with
5 additions
and
5 deletions
dune/common/parallel/collectivecommunication.hh
+
5
−
5
View file @
5cefba4b
...
...
@@ -189,7 +189,7 @@ namespace Dune
* @param[out] out The buffer to store the received data in. Might have length zero on non-root
* tasks.
* @param[in] len The number of elements to send on each task.
* @param[
out
] root The root task that gathers the data.
* @param[
in
] root The root task that gathers the data.
*/
template
<
typename
T
>
int
gather
(
T
*
in
,
T
*
out
,
int
len
,
int
root
)
const
// note out must have same size as in
...
...
@@ -212,10 +212,10 @@ namespace Dune
* of elements to receive from process i at position i, i.e. the number that
* is passed as sendlen argument to this function in process i.
* May have length zero on non-root tasks.
* @param[
in
] displ An array with size equal to the number of processes. Data received from
* @param[
out
] displ An array with size equal to the number of processes. Data received from
* process i will be written starting at out+displ[i] on the root process.
* May have length zero on non-root tasks.
* @param[
out
] root The root task that gathers the data.
* @param[
in
] root The root task that gathers the data.
*/
template
<
typename
T
>
int
gatherv
(
T
*
in
,
int
sendlen
,
T
*
out
,
int
*
recvlen
,
int
*
displ
,
int
root
)
const
...
...
@@ -235,7 +235,7 @@ namespace Dune
* method each task will have same data stored there as the one in
* send buffer of the root task before.
* @param[in] len The number of elements in the recv buffer.
* @param[
out
] root The root task that gathers the data.
* @param[
in
] root The root task that gathers the data.
*/
template
<
typename
T
>
int
scatter
(
T
*
send
,
T
*
recv
,
int
len
,
int
root
)
const
// note out must have same size as in
...
...
@@ -260,7 +260,7 @@ namespace Dune
* method each task will have the same data stored there as the one in
* send buffer of the root task before.
* @param[in] recvlen The number of elements in the recv buffer.
* @param[
out
] root The root task that gathers the data.
* @param[
in
] root The root task that gathers the data.
*/
template
<
typename
T
>
int
scatterv
(
T
*
send
,
int
*
sendlen
,
int
*
displ
,
T
*
recv
,
int
recvlen
,
int
root
)
const
...
...
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