|
|
|
mapDistribute Class ReferenceClass containing processor-to-processor mapping information. More...
Collaboration diagram for mapDistribute:
![]()
Detailed DescriptionClass containing processor-to-processor mapping information.We store mapping from the bits-to-send to the complete starting list (subXXXMap) and from the received bits to their location in the new list (constructXXXMap). Note: Schedule is a list of processor pairs (one send, one receive. One of them will be myself) which forms a scheduled (i.e. non-buffered) exchange. See distribute on how to use it. Note2: number of items send on one processor have to equal the number of items received on the other processor.
Definition at line 61 of file mapDistribute.H. Constructor & Destructor Documentation
(optionally destructively) construct from components
Definition at line 179 of file mapDistribute.C.
Construct from reverse addressing: per data item the send. processor and the receive processor. All processors get same data. Definition at line 194 of file mapDistribute.C.
Member Function Documentation
Constructed data size.
Definition at line 118 of file mapDistribute.H. Referenced by extendedFaceToCellStencil::collectData(), and extendedCellToFaceStencil::collectData().
Here is the caller graph for this function:
![]()
Calculate a schedule. See above.
Definition at line 26 of file mapDistribute.C. References Pstream::blocking, Foam::findIndex(), Pstream::firstSlave(), forAll, HashSet< Key, Hash >::insert(), Pstream::lastSlave(), Pstream::master(), Pstream::masterNo(), Pstream::myProcNo(), Pstream::nProcs(), List< T >::setSize(), List< T >::size(), and HashTable< nil, Key, Hash >::toc().
Here is the call graph for this function:
![]()
Compact maps. Gets per field a bool whether it is used (locally). and works out itself what this side and sender side can remove from maps. Definition at line 278 of file mapDistribute.C.
Distribute data. Note:schedule only used for Pstream::scheduled. for now, all others just use send-to-all, receive-from-all. Definition at line 25 of file mapDistributeTemplates.C. References Foam::abort(), UList< T >::begin(), Pstream::blocking, Foam::exit(), Foam::FatalError, FatalErrorIn, forAll, Pstream::myProcNo(), Pstream::nonBlocking, Pstream::nProcs(), IPstream::read(), Pstream::scheduled, List< T >::setSize(), List< T >::size(), Foam::T(), List< T >::transfer(), OPstream::waitRequests(), IPstream::waitRequests(), and OPstream::write(). Referenced by extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), mapDistribute::distribute(), mapDistributePolyMesh::distributeCellData(), mapDistributePolyMesh::distributeFaceData(), mapDistributePolyMesh::distributePatchData(), mapDistributePolyMesh::distributePointData(), and mapDistributeLagrangian::updateMesh().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Distribute data. If multiple processors writing to same. position adds contributions using cop. Definition at line 326 of file mapDistributeTemplates.C.
Distribute data using default commsType.
Definition at line 208 of file mapDistribute.H. References mapDistribute::distribute(), and Pstream::nonBlocking.
Here is the call graph for this function:
![]()
Definition at line 418 of file mapDistribute.C.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||