WARPXM v1.10.0
|
#include <synchronizer.h>
Public Member Functions | |
patch_synchronizer_t (const WmUnstructuredPatch &patch, const int tag_seed) | |
Constructor. | |
virtual | ~patch_synchronizer_t () |
Destructor. | |
virtual void | add_component (wxm::variable::distributed_variable_t &variable, const int component_index)=0 |
Add a component to the synchronization. | |
virtual void | sync ()=0 |
Blocking sync call. | |
virtual void | sync_nb ()=0 |
Non-blocking sync call Initiates the recv buffer and sends remote data out. | |
virtual void | sync_nb_wait ()=0 |
Blocking sync wait call Transmits local data, and waits until remote recv is complete. | |
Protected Attributes | |
const WmUnstructuredPatch & | _patch |
Domain object. | |
int | _tag_seed |
Tag seed - used to generate shared tags. | |
|
inline |
Constructor.
domain | Domain object |
|
inlinevirtual |
Destructor.
Reimplemented in wxm::dfem::sync::patch_synchronizer_t.
|
pure virtual |
Add a component to the synchronization.
Cannot add new variables after sync has been called
variable | Variable to sync |
component_index | Component of interest |
Implemented in wxm::dfem::sync::patch_synchronizer_t, and wxm::dfem::sync::UniqueVariablePatchSynchronizer.
|
pure virtual |
Blocking sync call.
Implemented in wxm::dfem::sync::patch_synchronizer_t, and wxm::dfem::sync::UniqueVariablePatchSynchronizer.
|
pure virtual |
Non-blocking sync call Initiates the recv buffer and sends remote data out.
Implemented in wxm::dfem::sync::patch_synchronizer_t, and wxm::dfem::sync::UniqueVariablePatchSynchronizer.
|
pure virtual |
Blocking sync wait call Transmits local data, and waits until remote recv is complete.
Implemented in wxm::dfem::sync::patch_synchronizer_t, and wxm::dfem::sync::UniqueVariablePatchSynchronizer.
|
protected |
Domain object.
|
protected |
Tag seed - used to generate shared tags.