Class ParallelMap is a utility class for associating integer keys with arbitrary data items in parallel.
#include <ibtk/ParallelMap.h>
◆ ParallelMap() [1/2]
| IBTK::ParallelMap::ParallelMap |
( |
| ) |
|
|
default |
◆ ParallelMap() [2/2]
| IBTK::ParallelMap::ParallelMap |
( |
const ParallelMap & |
from | ) |
|
|
default |
- Parameters
-
| from | The value to copy to this object. |
◆ ~ParallelMap()
| virtual IBTK::ParallelMap::~ParallelMap |
( |
| ) |
|
|
virtualdefault |
◆ operator=()
- Parameters
-
| that | The value to assign to this object. |
- Returns
- A reference to this object.
◆ addItem()
- Note
- This method is not collective (i.e., it does not have to be called by all MPI tasks); however, it is necessary to call the collective function ParallelMap::communicateData() to finalize all parallel communication.
-
The underling map data structure is not updated until the collective method communicateData() is called, even for serial runs.
◆ removeItem()
| void IBTK::ParallelMap::removeItem |
( |
int |
key | ) |
|
- Note
- This method is not collective (i.e., it does not have to be called by all MPI tasks); however, it is necessary to call the collective function ParallelMap::communicateData() to finalize all parallel communication.
-
The underling map data structure is not updated until the collective method communicateData() is called, even for serial runs.
◆ communicateData()
| void IBTK::ParallelMap::communicateData |
( |
| ) |
|
◆ getMap()
◆ d_map
◆ d_pending_additions
◆ d_pending_removals
| std::vector<int> IBTK::ParallelMap::d_pending_removals |
|
private |
The documentation for this class was generated from the following file: