Skip to content
Snippets Groups Projects
Commit 5cefba4b authored by Oliver Sander's avatar Oliver Sander
Browse files

[bugfix,documentation] 'root' is an input argument, not an output one

parent 828849a0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment