Operations to transfer values to other subdomains. More...
#include <arcane/impl/TransferValuesParallelOperation.h>
Public Member Functions | |
| TransferValuesParallelOperation (IParallelMng *pm) | |
| virtual | ~TransferValuesParallelOperation () |
| Destructor. | |
| virtual IParallelMng * | parallelMng () |
| Associated parallelism manager. | |
| virtual void | setTransferRanks (Int32ConstArrayView ranks) |
| Positions the array indicating who to send the values to. | |
| virtual void | addArray (Int32ConstArrayView send_values, SharedArray< Int32 > recv_value) |
Adds an array of Int32. | |
| virtual void | addArray (Int64ConstArrayView send_values, SharedArray< Int64 > recv_values) |
Adds an array of Int64. | |
| virtual void | addArray (RealConstArrayView send_values, SharedArray< Real > recv_values) |
Adds an array of Int64. | |
| virtual void | transferValues () |
| Sends and receives values. | |
| Public Member Functions inherited from Arcane::ITransferValuesParallelOperation | |
| virtual | ~ITransferValuesParallelOperation ()=default |
| Destructor. | |
Private Member Functions | |
| template<typename U> | |
| void | _putArray (ISerializer *s, Span< const Integer > z_indexes, UniqueArray< ConstArrayView< U > > &arrays, Array< U > &tmp_values) |
| template<typename U> | |
| void | _getArray (ISerializer *s, Integer nb, UniqueArray< SharedArray< U > > &arrays, Array< U > &tmp_values) |
Operations to transfer values to other subdomains.
Definition at line 31 of file TransferValuesParallelOperation.h.
| Arcane::TransferValuesParallelOperation::TransferValuesParallelOperation | ( | IParallelMng * | pm | ) |
Definition at line 42 of file TransferValuesParallelOperation.cc.
|
virtual |
Destructor.
Definition at line 51 of file TransferValuesParallelOperation.cc.
|
private |
Definition at line 126 of file TransferValuesParallelOperation.cc.
|
private |
Definition at line 107 of file TransferValuesParallelOperation.cc.
|
virtual |
Adds an array of Int32.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 77 of file TransferValuesParallelOperation.cc.
|
virtual |
Adds an array of Int64.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 87 of file TransferValuesParallelOperation.cc.
|
virtual |
Adds an array of Int64.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 97 of file TransferValuesParallelOperation.cc.
|
virtual |
Associated parallelism manager.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 59 of file TransferValuesParallelOperation.cc.
|
virtual |
Positions the array indicating who to send the values to.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 68 of file TransferValuesParallelOperation.cc.
|
virtual |
Sends and receives values.
This call is collective and blocking.
Implements Arcane::ITransferValuesParallelOperation.
Definition at line 141 of file TransferValuesParallelOperation.cc.
References Arcane::Array< T >::add(), Arcane::MessagePassing::PointToPointSerializerMng::addReceiveMessage(), Arcane::MessagePassing::PointToPointSerializerMng::addSendMessage(), Arcane::IParallelMng::allGatherVariable(), Arcane::ISerializer::allocateBuffer(), ARCANE_FATAL, Arcane::IParallelMng::commRank(), Arcane::ISerializer::getInteger(), Arcane::ITraceMng::info(), Arcane::Int32, Arcane::Int64, Arcane::IParallelMng::isParallel(), Arcane::IParallelMng::messagePassingMng(), Arcane::ISerializer::ModeGet, Arcane::ISerializer::ModePut, Arcane::ISerializer::putInteger(), Arcane::Real, Arcane::ISerializer::reserveSpan(), Arcane::ISerializer::setMode(), Arcane::AbstractArray< T >::size(), Arcane::ConstArrayView< T >::size(), Arcane::IParallelMng::timeStats(), Arcane::IParallelMng::traceMng(), and Arcane::MessagePassing::PointToPointSerializerMng::waitMessages().
|
private |
Definition at line 57 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 58 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 62 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 63 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 64 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 59 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 60 of file TransferValuesParallelOperation.h.
|
private |
Definition at line 61 of file TransferValuesParallelOperation.h.