|
IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class ParallelMap is a utility class for associating integer keys with arbitrary data items in parallel. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/ParallelMap.h>

Public Member Functions | |
| ParallelMap ()=default | |
| Default constructor. | |
| ParallelMap (const ParallelMap &from)=default | |
| Copy constructor. | |
| virtual | ~ParallelMap ()=default |
| Destructor. | |
| ParallelMap & | operator= (const ParallelMap &that) |
| Assignment operator. | |
| void | addItem (int key, SAMRAI::tbox::Pointer< Streamable > item) |
| Add an item with the specified key to the map. | |
| void | removeItem (int key) |
| Remove an item from the map. | |
| void | communicateData () |
| Communicate data to (re-)initialize the map. | |
| const std::map< int, SAMRAI::tbox::Pointer< Streamable > > & | getMap () const |
| Return a const reference to the map. | |
Class ParallelMap is a utility class for associating integer keys with arbitrary data items in parallel.
|
default |
Copy constructor.
| from | The value to copy to this object. |
| void IBTK::ParallelMap::addItem | ( | int | key, |
| SAMRAI::tbox::Pointer< Streamable > | item | ||
| ) |
Add an item with the specified key to the map.
| ParallelMap & IBTK::ParallelMap::operator= | ( | const ParallelMap & | that | ) |
Assignment operator.
| that | The value to assign to this object. |
Remove an item from the map.