#include <communicator.h>
Public Member Functions | |
void | collect (S &_t) |
void | collect (vector< S > &_t) |
void | distribute (vector< S > &_x) |
void | distribute (packed_vector< S > &_x) |
void | accumulate (vector< S > &_x) |
void | accumulate (packed_vector< S > &_x) |
communicator (const vector< T > &_gnod) | |
Private Attributes | |
vector< T > | _rpos |
vector< S > | _rsca |
vector< T > | _rcom |
vector< T > | _rcnt |
vector< T > | _rdsp |
vector< S > | _rvec |
vector< S > | _svec |
vector< S > | _rcol |
|
The constructor calculates the communication data structures from a vector of global node numbers.
|
|
The accumulate procedure converts a distributed packed_vector to an accumulated packed_vector.
|
|
The accumulate procedure converts a distributed vector to an accumulated vector.
|
|
The collect procedure calculates the global sum of all input vectors.
|
|
The collect procedure calculates the global sum of all input values.
|
|
The distribute procedure converts an accumulated packed_vector to a distributed packed_vector.
|
|
The distribute procedure converts an accumulated vector to a distributed vector.
|
|
Vector of shared node counts for the accumulate procedure |
|
Receive buffer for the collect procedure |
|
Vector of all shared local nodes ordered by processor for the accumulate procedure |
|
Vector of shared node displacements for the accumulate procedure. |
|
Vector of ordered local node numbers for the distribute procedure |
|
Vector of the reciprocal multiplicity for the distribute procedure |
|
Receive buffer for the accumulate procedure |
|
Send buffer for the accumulate procedure |