WARPXM v1.10.0
|
The component_exchange_t class is used to exchange a component between two sets of patches. More...
#include <exchange.h>
The component_exchange_t class is used to exchange a component between two sets of patches.
Public Member Functions | |
component_exchange_t (const sync_links_t &sync_links, wxm::dfem::variable::distributed_variable_t &variable, const int component_index) | |
Constructor for an exchange defining a group of patch exchanges for a single component. | |
Public Member Functions inherited from wxm::dfem::sync::tools::sync_chunk_t | |
sync_chunk_t () | |
virtual | ~sync_chunk_t () |
virtual size_t | size () |
Size of patch exchange chunk. | |
virtual void | read (const real *from_data) |
Read patch exchange data from pointer. | |
virtual void | write (real *to_data, size_t buf_size) |
Write patch exchange chunk to pointer. | |
Protected Attributes | |
const sync_links_t & | _sync_links |
List of links defining exchange. | |
Protected Attributes inherited from wxm::dfem::sync::tools::sync_chunk_t | |
std::vector< int > | _children_offsets |
List of offsets into a synchronization buffer. | |
std::vector< sync_chunk_t * > | _children |
Children associated with this chunk. | |
wxm::dfem::sync::tools::component_exchange_t::component_exchange_t | ( | const sync_links_t & | sync_links, |
wxm::dfem::variable::distributed_variable_t & | variable, | ||
const int | component_index | ||
) |
Constructor for an exchange defining a group of patch exchanges for a single component.
sync_links | Links between patches associated with exchange |
variable | Variable to exchange |
component_index | Component in variable to exchange |
|
protected |
List of links defining exchange.