Canoe
Comprehensive Atmosphere N' Ocean Engine
|
#include <exchanger.hpp>
Public Types | |
using | Base = Exchanger< T > |
Public Types inherited from Exchanger< T > | |
using | DataType = typename MessageTraits< T >::DataType |
using | BufferType = std::vector< DataType > |
Public Member Functions | |
NeighborExchanger () | |
void | Transfer (MeshBlock const *pmb, int n=-1) override |
Send and receive data. More... | |
void | ClearBuffer (MeshBlock const *pmb) override |
Clear buffer. More... | |
Public Member Functions inherited from Exchanger< T > | |
Exchanger () | |
virtual | ~Exchanger () |
void | SetBoundaryStatus (int bid, BoundaryStatus status) |
Set the boundary status. More... | |
Public Member Functions inherited from ExchangerBase | |
ExchangerBase () | |
virtual | ~ExchangerBase () |
virtual void | PackData (MeshBlock const *pmb) |
Pack data to send buffer. More... | |
virtual bool | UnpackData (MeshBlock const *pmb) |
Unpack data from receive buffer. More... | |
Public Attributes | |
BufferType | recv_buffer_ [MessageTraits< T >::num_buffers] |
BufferType | send_buffer_ [MessageTraits< T >::num_buffers] |
Additional Inherited Members | |
Protected Attributes inherited from Exchanger< T > | |
enum BoundaryStatus | status_flag_ [MessageTraits< T >::num_buffers] |
BufferType | send_buffer_ [MessageTraits< T >::num_buffers] |
BufferType | recv_buffer_ [MessageTraits< T >::num_buffers] |
Definition at line 123 of file exchanger.hpp.
using NeighborExchanger< T >::Base = Exchanger<T> |
Definition at line 125 of file exchanger.hpp.
|
inline |
Definition at line 134 of file exchanger.hpp.
|
overridevirtual |
Send and receive data.
Implements ExchangerBase.
Definition at line 19 of file neighbor_exchanger.hpp.
|
overridevirtual |
Clear buffer.
Reimplemented from Exchanger< T >.
Definition at line 61 of file neighbor_exchanger.hpp.
BufferType Exchanger< T >::recv_buffer_[MessageTraits< T >::num_buffers] |
Definition at line 89 of file exchanger.hpp.
BufferType Exchanger< T >::send_buffer_[MessageTraits< T >::num_buffers] |
Definition at line 88 of file exchanger.hpp.