Go to the documentation of this file.
42 #ifndef faBoundaryMesh_H
43 #define faBoundaryMesh_H
60 Ostream&
operator<<(Ostream&,
const faBoundaryMesh&);
175 const bool useGroups =
true
184 const bool useGroups =
true
196 label
whichPatch(
const label edgeIndex)
const;
label whichPatch(const label edgeIndex) const
Return patch index for a given edge label.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void updateMesh()
Correct faBoundaryMesh after topology update.
friend Ostream & operator<<(Ostream &, const faBoundaryMesh &)
A class for handling words, derived from Foam::string.
labelList indices(const wordRe &matcher, const bool useGroups=true) const
Return (sorted) patch indices for all matches.
bool writeData(Ostream &os) const
The writeData member function required by regIOobject.
bool checkDefinition(const bool report=false) const
Check boundary definition.
labelList findIndices(const wordRe &key, bool useGroups=true) const
Identical to the indices() method (AUG-2018)
labelList patchSizes() const
Return a list of patch sizes (number of edges in each patch)
List< labelRange > patchRanges() const
Return a list of patch ranges.
void calcGeometry()
Calculate the geometry for the patches.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
UPtrList< const labelUList > edgeFaces() const
Return a list of edgeFaces for each patch.
void movePoints(const pointField &)
Correct faBoundaryMesh after moving points.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
label findIndex(const wordRe &key) const
Return patch index for the first match, return -1 if not found.
Finite area boundary mesh.
wordList names() const
Return a list of patch names.
The IOstreamOption is a simple container for options an IOstream can normally have.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A range or interval of labels defined by a start and a size.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const faMesh & mesh() const noexcept
Return the mesh reference.
label findPatchID(const word &patchName) const
Find patch index given a name, return -1 if not found.
OBJstream os(runTime.globalPath()/outputName)
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write using stream options.
label nEdges() const
The number of boundary edges for the underlying mesh.
TypeName("faBoundaryMesh")
Runtime type information.
label start() const
The start label of the edges in the faMesh edges list.
wordList types() const
Return a list of patch types.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
label nNonProcessor() const
The number of patches before the first processor patch.
A List of wordRe with additional matching capabilities.
labelRange range() const
The edge range for all boundary edges.
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
~faBoundaryMesh()=default
Destructor.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Calculate the matrix for the second temporal derivative.
labelList patchStarts() const
Return a list of patch start indices.
lduInterfacePtrsList interfaces() const