40#ifndef Foam_pointBoundaryMesh_H
41#define Foam_pointBoundaryMesh_H
60class pointBoundaryMesh
80 bool hasGroupIDs()
const;
83 void calcGroupIDs()
const;
89 pointBoundaryMesh(
const pointBoundaryMesh&) =
delete;
92 void operator=(
const pointBoundaryMesh&) =
delete;
175 const word& patchName,
176 const bool allowNotFound =
true
209 return indices(key, useGroups);
const polyBoundaryMesh & pbm
A HashTable similar to std::unordered_map.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
label nNonProcessor() const
The number of patches before the first processor patch.
wordList physicalTypes() const
Return a list of physical types.
const HashTable< labelList > & groupPatchIDs() const
The patch indices per patch group.
virtual bool writeData(Ostream &) const
writeData member function required by regIOobject
const pointMesh & mesh() const noexcept
Return the mesh reference.
virtual ~pointBoundaryMesh()=default
Destructor.
void reorder(const labelUList &oldToNew, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
wordList types() const
Return a list of patch types.
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name.
labelList indices(const wordRe &matcher, const bool useGroups) const
The (sorted) patch indices for all matches, optionally matching patch groups.
void movePoints(const pointField &)
Correct pointBoundaryMesh after moving points.
TypeName("pointBoundaryMesh")
Runtime type information.
friend class pointMesh
Declare friendship with pointMesh.
labelList findIndices(const wordRe &key, bool useGroups) const
Identical to the indices() method (AUG-2018).
wordList names() const
Return a list of patch names.
void updateMesh()
Correct pointBoundaryMesh after topology update.
label nProcessorPatches() const
The number of processorPointPatch patches.
const pointPatch * cfindPatch(const word &patchName) const
Find patch by name and return const pointer.
Mesh representing a set of points created from polyMesh.
Basic pointPatch represents a set of points from the mesh.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
regIOobject(const IOobject &io, const bool isTimeObject=false)
Construct from IOobject. The optional flag adds special handling if the object is the top-level regIO...
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
List< word > wordList
List of word.
List< label > labelList
A List of labels.
PtrList< pointPatch > pointPatchList
Store lists of pointPatch as a PtrList.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define FOAM_DEPRECATED_FOR(since, replacement)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.