WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::dfem::sync::tools::component_exchange_t Class Reference

The component_exchange_t class is used to exchange a component between two sets of patches. More...

#include <exchange.h>

Inheritance diagram for wxm::dfem::sync::tools::component_exchange_t:
wxm::dfem::sync::tools::sync_chunk_t

Detailed Description

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.
 

Constructor & Destructor Documentation

◆ component_exchange_t()

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.

Parameters
sync_linksLinks between patches associated with exchange
variableVariable to exchange
component_indexComponent in variable to exchange

Member Data Documentation

◆ _sync_links

const sync_links_t& wxm::dfem::sync::tools::component_exchange_t::_sync_links
protected

List of links defining exchange.


The documentation for this class was generated from the following file: