35 #ifndef polyBoundaryMesh_H 36 #define polyBoundaryMesh_H 54 Ostream&
operator<<(Ostream&,
const polyBoundaryMesh&);
167 const bool usePatchGroups =
true 198 const bool warnNotFound =
true,
199 const bool usePatchGroups =
true void matchGroups(const labelUList &patchIDs, wordList &groups, labelHashSet &nonGroupPatches) const
Match the patches to groups. Returns all the (fully matched) groups.
const labelList & patchID() const
Per boundary face label the patch index.
A class for handling keywords in dictionaries.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool checkParallelSync(const bool report=false) const
Check whether all procs have all patches and in same order. Return.
wordList names() const
Return a list of patch names.
bool checkDefinition(const bool report=false) const
Check boundary definition. Return true if in error.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void clearGeom()
Clear geometry at this level and at patches.
labelHashSet findPatchIDs() const
Find patch indices for a given polyPatch type.
friend Ostream & operator(Ostream &, const UPtrList< T > &)
Write UPtrList to Ostream.
~polyBoundaryMesh()
Destructor.
void movePoints(const pointField &)
Correct polyBoundaryMesh after moving points.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
label findIndex(const keyType &) const
Return patch index for the first match, return -1 if not found.
wordList patchNames(nPatches)
streamFormat
Enumeration for the format of data in the stream.
labelHashSet patchSet(const UList< wordRe > &patchNames, const bool warnNotFound=true, const bool usePatchGroups=true) const
Return the set of patch IDs corresponding to the given names.
wordList physicalTypes() const
Return a list of physical types.
An STL-conforming hash table.
const List< labelPairList > & neighbourEdges() const
Per patch the edges on the neighbouring patch. Is for every external.
const polyMesh & mesh() const
Return the mesh reference.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
labelList findIndices(const keyType &, const bool usePatchGroups=true) const
Return patch indices for all matches. Optionally matches patchGroups.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void updateMesh()
Correct polyBoundaryMesh after topology update.
TypeName("polyBoundaryMesh")
Runtime type information.
const HashTable< labelList, word > & groupPatchIDs() const
Per patch group the patch indices.
bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
Write using given format, version and form uncompression.
const polyPatch & operator[](const word &) const
Return const reference to polyPatch by name.
wordList types() const
Return a list of patch types.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void clearAddressing()
Clear addressing at this level and at patches.
label whichPatch(const label faceIndex) const
Return patch index for a given face label.
Ostream & operator<<(Ostream &, const ensightPart &)
bool writeData(Ostream &) const
writeData member function required by regIOobject
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
friend Ostream & operator<<(Ostream &, const polyBoundaryMesh &)
A patch is a list of labels that address the faces in the global face list.
label findPatchID(const word &patchName) const
Find patch index given a name.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void reorder(const labelUList &, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
void setGroup(const word &groupName, const labelList &patchIDs)
Set/add group with patches.
label size() const
Return the number of elements in the UPtrList.