40 #ifndef Foam_pointBoundaryMesh_H 41 #define Foam_pointBoundaryMesh_H 53 class polyBoundaryMesh;
80 bool hasGroupIDs()
const;
83 void calcGroupIDs()
const;
175 const word& patchName,
176 const bool allowNotFound =
true const polyBoundaryMesh & pbm
label nNonProcessor() const
The number of patches before the first processor patch.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh...
wordList physicalTypes() const
Return a list of physical types.
void movePoints(const pointField &)
Correct pointBoundaryMesh after moving points.
label nProcessorPatches() const
The number of processorPointPatch patches.
FOAM_DEPRECATED_FOR(2022-09, "get(), set() or test() methods") const T *operator()(const label i) const
Deprecated(2022-09) - same as get()
labelList indices(const wordRe &matcher, const bool useGroups) const
The (sorted) patch indices for all matches, optionally matching patch groups.
const pointMesh & mesh() const noexcept
Return the mesh reference.
void updateMesh()
Correct pointBoundaryMesh after topology update.
Mesh representing a set of points created from polyMesh.
labelList findIndices(const wordRe &key, bool useGroups) const
Identical to the indices() method (AUG-2018)
A class for handling words, derived from Foam::string.
TypeName("pointBoundaryMesh")
Runtime type information.
void reorder(const labelUList &oldToNew, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
A List of wordRe with additional matching capabilities.
auto key(const Type &t) -> std::enable_if_t< std::is_enum_v< Type >, std::underlying_type_t< Type > >
A HashTable similar to std::unordered_map.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name.
const HashTable< labelList > & groupPatchIDs() const
The patch indices per patch group.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
wordList types() const
Return a list of patch types.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
wordList names() const
Return a list of patch names.
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual bool writeData(Ostream &) const
writeData member function required by regIOobject
virtual ~pointBoundaryMesh()=default
Destructor.