IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class ParallelEdgeMap is a utility class for managing edge maps (i.e., maps from vertices to links between vertices) in parallel. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/ParallelEdgeMap.h>
Public Member Functions | |
ParallelEdgeMap ()=default | |
Default constructor. | |
virtual | ~ParallelEdgeMap ()=default |
Destructor. | |
int | addEdge (const std::pair< int, int > &link, int mastr_idx=invalid_index) |
Add an edge to the edge map. More... | |
void | removeEdge (const std::pair< int, int > &link, int mastr_idx=invalid_index) |
Remove an edge from the edge map. More... | |
void | communicateData () |
Communicate data to (re-)initialize the edge map. | |
const std::multimap< int, std::pair< int, int > > & | getEdgeMap () const |
Return a const reference to the edge map. | |
Class ParallelEdgeMap is a utility class for managing edge maps (i.e., maps from vertices to links between vertices) in parallel.
int IBTK::ParallelEdgeMap::addEdge | ( | const std::pair< int, int > & | link, |
int | mastr_idx = invalid_index |
||
) |
Add an edge to the edge map.
void IBTK::ParallelEdgeMap::removeEdge | ( | const std::pair< int, int > & | link, |
int | mastr_idx = invalid_index |
||
) |
Remove an edge from the edge map.