Go to the documentation of this file.
60 #ifndef InteractionLists_H
61 #define InteractionLists_H
72 class globalIndexAndTransform;
79 template<
class ParticleType>
221 Switch writeCloud =
false,
244 const label startReq = 0
const List< labelPair > & cellIndexAndTransformToDistribute() const
Return access to the cellIndexAndTransformToDistribute list.
void prepareWallDataToRefer()
Populate the referredWallData container with data that.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
scalar maxDistance_
Maximum distance over which interactions will be detected.
List< IDLList< ParticleType > > referredParticles_
Referred particle container.
A class for handling words, derived from string.
void findExtendedProcBbsInRange(const treeBoundBox &procBb, const List< treeBoundBox > &allExtendedProcBbs, const globalIndexAndTransform &globalTransforms, List< treeBoundBox > &extendedProcBbsInRange, List< label > &extendedProcBbsTransformIndex, List< label > &extendedProcBbsOrigProc)
Find the other processors which have interaction range.
List< labelPair > cellIndexAndTransformToDistribute_
Which cells are to be sent via the cellMap, and an index.
const mapDistribute & cellMap() const
Return access to the cellMap.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Standard boundBox + extra functionality for use in octree.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
autoPtr< mapDistribute > cellMapPtr_
mapDistribute to exchange referred particles into referred cells
const mapDistribute & wallFaceMap() const
Return access to the wallFaceMap.
labelListList ril_
Referred interaction list - which real cells are to be.
void prepareParticlesToRefer(const List< DynamicList< ParticleType * > > &cellOccupancy)
Fill the referredParticles container with particles that.
labelListList dil_
Direct interaction list.
void fillReferredParticleCloud()
Fill the referredParticles so that it will be written out.
Mesh consisting of general polyhedral cells.
List< vector > referredWallData_
Referred wall face velocity field values;.
const labelListList & rilInverse() const
Return access to the inverse referred interaction list.
Cloud< ParticleType > cloud_
Dummy cloud to give to particles.
void buildMap(autoPtr< mapDistribute > &mapPtr, const List< label > &toProc)
Build the mapDistribute from information about which entry.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const List< vector > & referredWallData() const
Return access to the referred wall data.
const List< DynamicList< molecule * > > & cellOccupancy
const word & UName() const
Return the name of the velocity field.
const labelListList & dwfil() const
Return access to the direct wall face interaction list.
const labelListList & dil() const
Return access to the direct interaction list.
Builds direct interaction list, specifying which local (real) cells are potentially in range of each ...
Class containing processor-to-processor mapping information.
void prepareParticleToBeReferred(ParticleType *particle, labelPair iat)
Prepare particle to be referred.
labelListList dwfil_
Wall faces on this processor that are in interaction range.
void receiveReferredData(PstreamBuffers &pBufs, const label startReq=0)
Receive referred data.
const word UName_
Velocity field name, default to "U".
const List< labelPair > & wallFaceIndexAndTransformToDistribute() const
Return access to the wallFaceIndexAndTransformToDistribute list.
labelListList rwfilInverse_
Inverse addressing for referred wall faces, specifies.
const polyMesh & mesh_
Reference to mesh.
const polyMesh & mesh() const
Return access to the mesh.
void sendReferredData(const List< DynamicList< ParticleType * > > &cellOccupancy, PstreamBuffers &pBufs)
Prepare and send referred particles and wall data,.
void operator=(const InteractionLists &)
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void buildInteractionLists()
Construct all interaction lists.
autoPtr< mapDistribute > wallFaceMapPtr_
mapDistribute to exchange wall face data
An ordered pair of two objects of type <T> with first() and second() elements.
void writeReferredWallFaces() const
Write the referred wall faces out for debug.
labelListList rilInverse_
Inverse addressing for referred cells, specifies which.
labelListList rwfil_
Which real cells on this on this processor are in.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< labelPair > wallFaceIndexAndTransformToDistribute_
Which wallFaces are to be sent via the wallFaceMap, and an index.
InteractionLists(const InteractionLists &)
Disallow default bitwise copy construct.
const List< IDLList< ParticleType > > & referredParticles() const
Return access to the referred particle container.
const Switch writeCloud_
Switch controlling whether or not the cloud gets populated.
const labelListList & ril() const
Return access to the referred interaction list.
const labelListList & rwfilInverse() const
Return access to the inverse referred wall face.
List< referredWallFace > referredWallFaces_
Referred wall faces.
const List< referredWallFace > & referredWallFaces() const
Return access to the referred wall faces.
const labelListList & rwfil() const
Return access to the referred wall face interaction list.