42#ifndef Foam_surfZoneIdentifier_H
43#define Foam_surfZoneIdentifier_H
78 static constexpr const char*
const emptyType =
"empty";
90 :
word(
"zone" + std::to_string(
n),
false)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Identifies a surface patch/zone by name and index, with optional geometric type.
surfZoneIdentifier()
Default construct. Uses name="", index=0.
surfZoneIdentifier(surfZoneIdentifier &&)=default
Move construct.
word & name() noexcept
Modifiable patch/zone name.
const word & geometricType() const noexcept
The (optional) geometric type of the patch/zone.
static constexpr const char *const emptyType
The name for an 'empty' type.
label & index() noexcept
Modifiable index of this patch/zone in the surface mesh.
label index() const noexcept
The index of this patch/zone in the surface mesh.
const word & name() const noexcept
The patch/zone name.
static word defaultName(const label n=-1)
Default zone name: "zone" or "zoneN".
surfZoneIdentifier & operator=(surfZoneIdentifier &&)=default
Move assignment.
word & geometricType() noexcept
Modifiable (optional) geometric type of the patch/zone.
surfZoneIdentifier & operator=(const surfZoneIdentifier &)=default
Copy assignment.
surfZoneIdentifier(const surfZoneIdentifier &)=default
Copy construct.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Istream & operator>>(Istream &, directionInfo &)