70 public topoSetFaceSource
75 static addToUsageTable usage_;
78 List<pointField> zonePoints_;
107 void calculateDistance
110 const bitSet& isBlockedCell,
120 const bitSet& isSurfaceFace,
129 const bitSet& isSurfaceFace,
130 const bitSet& isCandidateHoleCell,
137 const bitSet& isSurfaceFace,
183 const bitSet& isActiveCell,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const bitSet isBlockedFace(intersectedFaces())
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Apply specified action to the topoSet.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
void combine(topoSet &set, const bitSet &isBlockedFace, const bitSet &isActiveCell, const bool add) const
Optional direct use to generate a faceSet.
virtual ~holeToFace()=default
Destructor.
const polyMesh & mesh() const noexcept
Reference to the mesh.
setAction
Enumeration defining various actions.
TypeName("holeToFace")
Runtime type information.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
General set of labels of mesh quantity (points, cells, faces).
List< word > wordList
List of word.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
static autoPtr< mapDistribute > calcClosure(const polyMesh &mesh, const List< pointField > &zonePoints, const labelList &blockedFaces, const globalIndex &globalBlockedFaces, const bool erode, labelList &closureFaces, labelList &closureToBlocked)
Optional direct use to generate the set of faces and the method to.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
holeToFace(const polyMesh &mesh, const List< pointField > &zonePoints, const wordList &blockedFaceNames, const wordList &blockedCellNames, const bool erode)
Construct from components.