Go to the documentation of this file.
27 #include "primitiveMesh.H"
42 <<
"Master point face addressing already calculated."
66 mpf.find(curFace[pointI]);
68 if (mpfIter == mpf.end())
78 mpf.find(curFace[pointI])().append(faceI);
82 mpfIter().append(faceI);
101 const label mergedSmp =
107 if (mpfIter == mpf.end())
117 mpf.find(mergedSmp)().append
138 l.
transfer(mpf.find(mpfToc[mpfTocI])());
140 masterPointFaceAddr.insert(mpfToc[mpfTocI], l);
150 if (!masterPointFacesPtr_)
152 calcMasterPointFaces();
155 return *masterPointFacesPtr_;
const labelList & meshPoints() const
Return mesh points.
const Map< labelList > & masterPointFaces() const
Master point face addressing.
const labelList & slavePointEdgeHits_
Slave point edge hits.
#define forAll(list, i)
Loop across all elements in list.
Template functions to aid in the implementation of demand driven data.
const primitiveFacePatch & slavePatch_
Reference to slave patch.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
A HashTable to objects of type <T> with a label key.
Map< labelList > * masterPointFacesPtr_
static const label nFaceHits_
Estimated number of master face hits by slave points.
const primitiveFacePatch & masterPatch_
Reference to master patch.
Map< label > & pointMergeMap()
Return map of point merges.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void calcMasterPointFaces() const
Calculate master point addressing.
const List< objectHit > & slavePointFaceHits_
Slave point face hits.
const faceList & enrichedFaces() const
Return enriched faces.
errorManip< error > abort(error &err)
const labelList & slavePointPointHits_
Slave point point hits.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static const unsigned facesPerPoint_
Estimated number of faces per point.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & meshPoints() const
Return labelList of mesh points in patch.