|
class | NeighborAcquirerTest |
|
◆ acquireNeighbors()
Acquire the needed neighbors defined through the specific desired HaloRegions.
- Parameters
-
domain | The domain object. |
ownRegion | The region of the own process. |
desiredRegions | This is a vector of the desired regions. Partners are generated if at least parts of the desiredRegions lie outside of ownRegion. |
partners01 | Vector of communication partners that contain domains outside of ownRegion. |
partners02 | Vector of communication partners that contain domains inside of ownRegion. |
comm | the mpi communicator |
excludeOwnRank | Specifies to not include CommunicationPartners communicating with the own rank. |
- Returns
- A tuple of 2 vectors: The first vector represents the partners NOT owning the haloDomain, while the second vector will own the particles.
We now receive as many regions as we previously determined that we will receive. For that we keep track, how many regions we received and increase this according to the number of regions received per MPI operation.
The documentation for this class was generated from the following files: