38 #ifndef Foam_fvBoundaryMesh_H 39 #define Foam_fvBoundaryMesh_H 51 class polyBoundaryMesh;
const polyBoundaryMesh & pbm
label findPatchID(const word &patchName) const
Find patch index given a name.
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...
const fvPatch & operator[](const word &patchName) const
Return const reference to fvPatch by name.
void operator=(const fvBoundaryMesh &)=delete
No copy assignment.
const fvMesh & mesh() const noexcept
Return the mesh reference.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
labelList findIndices(const wordRe &key, bool useGroups) const
Identical to the indices() method (AUG-2018)
FOAM_DEPRECATED_FOR(2022-09, "get(), set() or test() methods") const T *operator()(const label i) const
Deprecated(2022-09) - same as get()
void readUpdate(const polyBoundaryMesh &)
Update boundary based on new polyBoundaryMesh.
labelList indices(const wordRe &matcher, const bool useGroups) const
Return (sorted) patch indices for all matches.
A class for handling words, derived from Foam::string.
A List of wordRe with additional matching capabilities.
friend Ostream & operator(Ostream &os, const UPtrList< T > &list)
Write UPtrList to Ostream.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
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...
UPtrList< const labelUList > faceCells() const
Return a list of faceCells for each patch.
lduInterfacePtrsList interfaces() const
Return a list of pointers for each patch with only those pointing to interfaces being set...
fvBoundaryMesh(const fvBoundaryMesh &)=delete
No copy construct.
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...
Mesh data needed to do the Finite Volume discretisation.
void movePoints()
Correct patches after moving points.