38 #ifndef Foam_pointBoundaryMesh_H 39 #define Foam_pointBoundaryMesh_H 51 class polyBoundaryMesh;
78 bool hasGroupIDs()
const;
81 void calcGroupIDs()
const;
168 const word& patchName,
169 const bool allowNotFound =
true const polyBoundaryMesh & pbm
label nNonProcessor() const
The number of patches before the first processor patch.
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.
List< bool > select(const label n, const labelUList &locations)
Construct a selection list of bools (all false) with the given pre-size, subsequently add specified l...
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
Return (sorted) patch indices for all matches.
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.
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 additional search methods and registered IO...
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.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
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.