|
|
|
Pstream Class ReferenceInter-processor communications stream. More...
Inheritance diagram for Pstream:
![]()
Collaboration diagram for Pstream:
![]()
Detailed DescriptionInter-processor communications stream.
Definition at line 53 of file Pstream.H. Member Enumeration Documentation
Constructor & Destructor Documentation
Construct given optional buffer size.
Definition at line 246 of file Pstream.H. References Pstream::buf_, and List< T >::setSize().
Here is the call graph for this function:
![]()
Member Function Documentation
Add the valid option this type of communications library. adds/requires on the command line Definition at line 25 of file Pstream.C. Referenced by Foam::handler().
Here is the caller graph for this function:
![]()
Initialisation function called from main. Spawns slave processes and initialises inter-communication Definition at line 29 of file Pstream.C. Referenced by Foam::handler().
Here is the caller graph for this function:
![]()
Is this a parallel run?
Definition at line 276 of file Pstream.H. Referenced by autoHexMeshDriver::autoHexMeshDriver(), Pstream::combineGather(), processorPointPatch::coupled(), processorFvsPatchField< Type >::coupled(), processorFvPatchField< Type >::coupled(), processorPointPatchField< Type >::coupled(), Pstream::gather(), Pstream::gatherList(), Foam::handler(), Pstream::listCombineGather(), Pstream::mapCombineGather(), Foam::ReadFields(), LUscalarMatrix::solve(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeList(), syncTools::syncFaceList(), and syncTools::syncPointList().
Here is the caller graph for this function:
![]()
Number of processes in parallel run.
Definition at line 282 of file Pstream.H. Referenced by mapDistribute::distribute(), Pstream::gatherList(), globalIndex::globalIndex(), meshRefinement::refineCandidates(), mapDistribute::schedule(), and globalIndex::toGlobal().
Here is the caller graph for this function:
![]()
Am I the master process.
Definition at line 288 of file Pstream.H. Referenced by fieldMinMax::calcMinMaxFields(), Foam::handler(), mapDistribute::schedule(), fvMatrix< Type >::setComponentReference(), Foam::setRefCell(), and LUscalarMatrix::solve().
Here is the caller graph for this function:
![]()
Process index of the master.
Definition at line 294 of file Pstream.H. Referenced by Foam::handler(), mapDistribute::schedule(), and LUscalarMatrix::solve().
Here is the caller graph for this function:
![]()
Number of this process (starting from masterNo() = 0).
Definition at line 300 of file Pstream.H. Referenced by Pstream::combineGather(), mapDistribute::distribute(), Pstream::gather(), Pstream::gatherList(), globalIndex::globalIndex(), globalIndex::isLocal(), Pstream::listCombineGather(), Pstream::mapCombineGather(), OPstream::print(), Foam::ReadFields(), and mapDistribute::schedule().
Here is the caller graph for this function:
![]()
Process index of first slave.
Definition at line 318 of file Pstream.H. Referenced by Foam::handler(), mapDistribute::schedule(), and LUscalarMatrix::solve().
Here is the caller graph for this function:
![]()
Process index of last slave.
Definition at line 324 of file Pstream.H. Referenced by Foam::handler(), mapDistribute::schedule(), and LUscalarMatrix::solve().
Here is the caller graph for this function:
![]()
Communication schedule for tree all-to-master (proc 0).
Definition at line 336 of file Pstream.H. Referenced by Pstream::combineScatter(), Pstream::listCombineScatter(), Pstream::mapCombineScatter(), Foam::returnReduce(), Pstream::scatter(), and Pstream::scatterList().
Here is the caller graph for this function:
![]()
Exit program.
Definition at line 40 of file Pstream.C. Referenced by Foam::handler().
Here is the caller graph for this function:
![]()
Abort program.
Definition at line 46 of file Pstream.C. Referenced by Pstream::gatherList(), Foam::handler(), and commsStruct::operator==().
Here is the caller graph for this function:
![]()
Gather data. Apply bop to combine Value. from different processors Definition at line 38 of file gatherScatter.C. References commsStruct::above(), commsStruct::below(), forAll, Pstream::myProcNo(), Pstream::parRun(), IPstream::read(), Pstream::scheduled, Foam::T(), and OPstream::write(). Referenced by Foam::reduce(), and Pstream::scatter().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 97 of file gatherScatter.C.
Scatter data. Distribute without modification. Reverse of gather.
Definition at line 111 of file gatherScatter.C. References Pstream::gather(), and Pstream::treeCommunication(). Referenced by Foam::ReadFields(), and Foam::reduce().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 162 of file gatherScatter.C.
Definition at line 43 of file combineGatherScatter.C. References commsStruct::above(), commsStruct::below(), Foam::endl(), forAll, Pstream::myProcNo(), Pstream::parRun(), Foam::Pout, IPstream::read(), Pstream::scheduled, Foam::T(), and OPstream::write(). Referenced by Foam::combineReduce(), and Pstream::combineScatter().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 123 of file combineGatherScatter.C.
Scatter data. Reverse of combineGather.
Definition at line 137 of file combineGatherScatter.C. References Pstream::combineGather(), and Pstream::treeCommunication(). Referenced by Foam::combineReduce().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 201 of file combineGatherScatter.C.
Definition at line 220 of file combineGatherScatter.C. References commsStruct::above(), UList< T >::begin(), commsStruct::below(), UList< T >::byteSize(), Foam::endl(), forAll, Pstream::myProcNo(), Pstream::parRun(), Foam::Pout, IPstream::read(), Pstream::scheduled, List< T >::size(), and OPstream::write(). Referenced by Pstream::listCombineScatter(), syncTools::syncEdgeList(), and syncTools::syncPointList().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 307 of file combineGatherScatter.C.
Scatter data. Reverse of combineGather.
Definition at line 322 of file combineGatherScatter.C. References Pstream::listCombineGather(), and Pstream::treeCommunication(). Referenced by syncTools::syncEdgeList(), and syncTools::syncPointList().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 389 of file combineGatherScatter.C.
Definition at line 410 of file combineGatherScatter.C. References commsStruct::above(), commsStruct::below(), Foam::endl(), forAll, Pstream::myProcNo(), Pstream::parRun(), Foam::Pout, and Pstream::scheduled. Referenced by Pstream::mapCombineScatter().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 474 of file combineGatherScatter.C.
Scatter data. Reverse of combineGather.
Definition at line 489 of file combineGatherScatter.C. References Pstream::mapCombineGather(), and Pstream::treeCommunication().
Here is the call graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 530 of file combineGatherScatter.C.
Gather data but keep individual values separate.
Definition at line 42 of file gatherScatterList.C. References Pstream::abort(), commsStruct::above(), commsStruct::allBelow(), UList< T >::begin(), commsStruct::below(), UList< T >::byteSize(), Foam::endl(), Foam::FatalError, FatalErrorIn, forAll, Pstream::myProcNo(), Pstream::nProcs(), Pstream::parRun(), Foam::Pout, IPstream::read(), Pstream::scheduled, List< T >::size(), and OPstream::write(). Referenced by globalIndex::globalIndex(), and Pstream::scatterList().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 173 of file gatherScatterList.C.
Scatter data. Reverse of gatherList.
Definition at line 188 of file gatherScatterList.C. References Pstream::gatherList(), and Pstream::treeCommunication(). Referenced by globalIndex::globalIndex().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Like above but switches between linear/tree communication.
Definition at line 298 of file gatherScatterList.C.
Member Data Documentation
Transfer buffer.
Definition at line 205 of file Pstream.H. Referenced by Pstream::Pstream(), IPstream::read(), and OPstream::write().
Current buffer read/write location.
Definition at line 208 of file Pstream.H. Referenced by IPstream::read().
Should compact transfer be used in which floats replace doubles. reducing the bandwidth requirement at the expense of some loss in accuracy Definition at line 230 of file Pstream.H. Referenced by Foam::handler().
Number of processors at which the sum algorithm changes from linear. to tree Definition at line 236 of file Pstream.H. Referenced by Foam::handler(). Default commsType.
Definition at line 239 of file Pstream.H. Referenced by lduMatrix::initMatrixInterfaces().
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||