IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class ParallelSet is a utility class for storing collections of integer keys in parallel. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/ParallelSet.h>
Public Member Functions | |
ParallelSet ()=default | |
Default constructor. | |
ParallelSet (const ParallelSet &from)=default | |
Copy constructor. More... | |
virtual | ~ParallelSet ()=default |
Destructor. | |
ParallelSet & | operator= (const ParallelSet &that) |
Assignment operator. More... | |
void | addItem (int key) |
Add an item with the specified key to the set. More... | |
void | removeItem (int key) |
Remove an item from the set. More... | |
void | communicateData () |
Communicate data to (re-)initialize the set. | |
const std::set< int > & | getSet () const |
Return a const reference to the set. | |
Class ParallelSet is a utility class for storing collections of integer keys in parallel.
|
default |
Copy constructor.
from | The value to copy to this object. |
void IBTK::ParallelSet::addItem | ( | int | key | ) |
Add an item with the specified key to the set.
ParallelSet & IBTK::ParallelSet::operator= | ( | const ParallelSet & | that | ) |
Assignment operator.
that | The value to assign to this object. |
void IBTK::ParallelSet::removeItem | ( | int | key | ) |
Remove an item from the set.