Builds direct interaction list, specifying which local (real) cells are potentially in range of each other. More...
Builds direct interaction list, specifying which local (real) cells are potentially in range of each other.
Builds referred interaction list, specifying which cells are required to provide interactions across coupled patches (cyclic or processor). Generates referred cells, and refers particles to the correct processor, applying the appropriate transform.
Simultaneous communication and computation is possible using:
PstreamBuffers pBufs(Pstream::commsTypes::nonBlocking); label startOfRequests = Pstream::nRequests(); il_.sendReferredData(cellOccupancy_, pBufs); // Do other things il_.receiveReferredData(pBufs, startOfRequests);
Requiring data:
List<DynamicList<typename CloudType::parcelType*>> cellOccupancy_;
Definition at line 77 of file InteractionLists.H.
InteractionLists | ( | const polyMesh & | mesh | ) |
Definition at line 1088 of file InteractionLists.C.
InteractionLists | ( | const polyMesh & | mesh, |
scalar | maxDistance, | ||
bool | writeCloud = false , |
||
const word & | UName = "U" |
||
) |
Definition at line 1111 of file InteractionLists.C.
Definition at line 1142 of file InteractionLists.C.
void sendReferredData | ( | const List< DynamicList< ParticleType * >> & | cellOccupancy, |
PstreamBuffers & | pBufs | ||
) |
Definition at line 1150 of file InteractionLists.C.
void receiveReferredData | ( | PstreamBuffers & | pBufs, |
const label | startReq = 0 |
||
) |
Definition at line 1198 of file InteractionLists.C.
|
inline |
Definition at line 26 of file InteractionListsI.H.
|
inline |
Definition at line 34 of file InteractionListsI.H.
|
inline |
Definition at line 42 of file InteractionListsI.H.
|
inline |
Definition at line 49 of file InteractionListsI.H.
|
inline |
Definition at line 57 of file InteractionListsI.H.
|
inline |
Definition at line 64 of file InteractionListsI.H.
|
inline |
Definition at line 72 of file InteractionListsI.H.
|
inline |
Definition at line 79 of file InteractionListsI.H.
|
inline |
Definition at line 87 of file InteractionListsI.H.
|
inline |
Definition at line 95 of file InteractionListsI.H.
|
inline |
Definition at line 104 of file InteractionListsI.H.
|
inline |
Definition at line 112 of file InteractionListsI.H.
|
inline |
Definition at line 119 of file InteractionListsI.H.
|
inline |
Definition at line 127 of file InteractionListsI.H.
|
inline |
Definition at line 135 of file InteractionListsI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.