Simultaneously send and receive a value from another process.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void SendReceive<T>( T inValue, int dest, int tag, out T outValue ) |
| Visual Basic (Declaration) |
|---|
Public Sub SendReceive(Of T) ( _ inValue As T, _ dest As Integer, _ tag As Integer, _ <OutAttribute> ByRef outValue As T _ ) |
| Visual C++ |
|---|
public: generic<typename T> void SendReceive( T inValue, int dest, int tag, [OutAttribute] T% outValue ) |
Parameters
- inValue
- Type: T
The value to be sent.
- dest
- Type: System..::.Int32
The rank of the process the data will be sent to and received from.
- tag
- Type: System..::.Int32
A message "tag" that identifies this particular kind of message.
- outValue
- Type:
T
%
The value to be received.
Type Parameters
- T
- Any serializable type.