Store a background polyMesh to use for the decomposition of space and queries for parallel conformalVoronoiMesh. More...
Public Member Functions  
ClassName ("backgroundMeshDecomposition")  
Runtime type information. More...  
backgroundMeshDecomposition (const Time &runTime, Random &rndGen, const conformationSurfaces &geometryToConformTo, const dictionary &coeffsDict, const fileName &decompDictFile="")  
Construct from components in foamyHexMesh operation. More...  
~backgroundMeshDecomposition ()=default  
Destructor. More...  
autoPtr< mapDistributePolyMesh >  distribute (volScalarField &cellWeights) 
Redistribute the background mesh based on a supplied weight field,. More...  
template<class PointType >  
autoPtr< mapDistribute >  distributePoints (List< PointType > &points) const 
Distribute supplied the points to the appropriate processor. More...  
bool  positionOnThisProcessor (const point &pt) const 
Is the given position inside the domain of this decomposition. More...  
boolList  positionOnThisProcessor (const List< point > &pts) const 
Are the given positions inside the domain of this decomposition. More...  
bool  overlapsThisProcessor (const treeBoundBox &box) const 
Does the given box overlap the faces of the boundary of this. More...  
bool  overlapsThisProcessor (const point ¢re, const scalar radiusSqr) const 
Does the given sphere overlap the faces of the boundary of this. More...  
pointIndexHit  findLine (const point &start, const point &end) const 
Find nearest intersection of line between start and end, (exposing. More...  
pointIndexHit  findLineAny (const point &start, const point &end) const 
Find any intersection of line between start and end, (exposing. More...  
template<class PointType >  
labelList  processorPosition (const List< PointType > &pts) const 
What processor is the given position on? More...  
labelList  processorNearestPosition (const List< point > &pts) const 
What is the nearest processor to the given position? More...  
List< List< pointIndexHit > >  intersectsProcessors (const List< point > &starts, const List< point > &ends, bool includeOwnProcessor=false) const 
Which processors are intersected by the line segment, returns all. More...  
bool  overlapsOtherProcessors (const point ¢re, const scalar &radiusSqr) const 
labelList  overlapProcessors (const point ¢re, const scalar radiusSqr) const 
const fvMesh &  mesh () const 
Return access to the underlying mesh. More...  
const indexedOctree< treeDataBPatch > &  tree () const 
Return access to the underlying tree. More...  
const treeBoundBox &  procBounds () const 
Return the boundBox of this processor. More...  
const labelList &  cellLevel () const 
Return the cell level of the underlying mesh. More...  
const labelList &  pointLevel () const 
Return the point level of the underlying mesh. More...  
Static Public Member Functions  
static autoPtr< mapDistribute >  buildMap (const List< label > &toProc) 
Build a mapDistribute for the supplied destination processor data. More...  
Store a background polyMesh to use for the decomposition of space and queries for parallel conformalVoronoiMesh.
Definition at line 94 of file backgroundMeshDecomposition.H.
backgroundMeshDecomposition  (  const Time &  runTime, 
Random &  rndGen,  
const conformationSurfaces &  geometryToConformTo,  
const dictionary &  coeffsDict,  
const fileName &  decompDictFile = "" 

) 
Construct from components in foamyHexMesh operation.

default 
Destructor.
ClassName  (  "backgroundMeshDecomposition"  ) 
Runtime type information.

static 
Build a mapDistribute for the supplied destination processor data.
autoPtr<mapDistributePolyMesh> distribute  (  volScalarField &  cellWeights  ) 
Redistribute the background mesh based on a supplied weight field,.
returning a map to use to redistribute vertices.
autoPtr<mapDistribute> distributePoints  (  List< PointType > &  points  )  const 
Distribute supplied the points to the appropriate processor.
Is the given position inside the domain of this decomposition.
Are the given positions inside the domain of this decomposition.
bool overlapsThisProcessor  (  const treeBoundBox &  box  )  const 
Does the given box overlap the faces of the boundary of this.
processor
Does the given sphere overlap the faces of the boundary of this.
processor
pointIndexHit findLine  (  const point &  start, 
const point &  end  
)  const 
Find nearest intersection of line between start and end, (exposing.
underlying indexedOctree)
pointIndexHit findLineAny  (  const point &  start, 
const point &  end  
)  const 
Find any intersection of line between start and end, (exposing.
underlying indexedOctree)
What processor is the given position on?
What is the nearest processor to the given position?
List<List<pointIndexHit> > intersectsProcessors  (  const List< point > &  starts, 
const List< point > &  ends,  
bool  includeOwnProcessor = false 

)  const 
Which processors are intersected by the line segment, returns all.
processors whose boundary patch is intersected by the sphere. By default this does not return the processor that the query is launched from, it is assumed that the point is on that processor. The index data member of the pointIndexHit is replaced with the processor index.

inline 
Return access to the underlying mesh.
Definition at line 30 of file backgroundMeshDecompositionI.H.

inline 
Return access to the underlying tree.
Definition at line 37 of file backgroundMeshDecompositionI.H.

inline 
Return the boundBox of this processor.
Definition at line 44 of file backgroundMeshDecompositionI.H.
References UPstream::myProcNo().

inline 
Return the cell level of the underlying mesh.
Definition at line 50 of file backgroundMeshDecompositionI.H.

inline 
Return the point level of the underlying mesh.
Definition at line 56 of file backgroundMeshDecompositionI.H.