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)  
Construct from components in foamyHexMesh operation. More...  
backgroundMeshDecomposition (const backgroundMeshDecomposition &)=delete  
Disallow default bitwise copy construction. More...  
~backgroundMeshDecomposition ()  
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...  
const decompositionMethod &  decomposer () const 
Return the current decomposition method. More...  
void  operator= (const backgroundMeshDecomposition &)=delete 
Disallow default bitwise assignment. 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 92 of file backgroundMeshDecomposition.H.
backgroundMeshDecomposition  (  const Time &  runTime, 
Random &  rndGen,  
const conformationSurfaces &  geometryToConformTo,  
const dictionary &  coeffsDict  
) 
Construct from components in foamyHexMesh operation.

delete 
Disallow default bitwise copy construction.
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.
bool positionOnThisProcessor  (  const point &  pt  )  const 
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
bool overlapsThisProcessor  (  const point &  centre, 
const scalar  radiusSqr  
)  const 
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.
bool overlapsOtherProcessors  (  const point &  centre, 
const scalar &  radiusSqr  
)  const 

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

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

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

inline 
Return the cell level of the underlying mesh.
Definition at line 48 of file backgroundMeshDecompositionI.H.
References hexRef8::cellLevel().

inline 
Return the point level of the underlying mesh.
Definition at line 54 of file backgroundMeshDecompositionI.H.
References hexRef8::pointLevel().

inline 
Return the current decomposition method.
Definition at line 61 of file backgroundMeshDecompositionI.H.

delete 
Disallow default bitwise assignment.