39#ifndef geometricSurfacePatch_H
40#define geometricSurfacePatch_H
72 static constexpr const char*
const emptyType =
"empty";
83 ?
word(
"patch",
false)
84 :
word(
"patch" + std::to_string(
n),
false)
176 return geometricType_;
182 return geometricType_;
223bool operator==(
const geometricSurfacePatch& a,
const geometricSurfacePatch&
b);
226bool operator!=(
const geometricSurfacePatch& a,
const geometricSurfacePatch&
b);
230Istream&
operator>>(Istream& is, geometricSurfacePatch& obj);
233Ostream&
operator<<(Ostream&
os,
const geometricSurfacePatch& obj);
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 geometric type.
word & name() noexcept
Modifiable patch/zone name.
const word & geometricType() const noexcept
The 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.
void writeDict(Ostream &os) const
Deprecated(2020-01) Write dictionary.
static word defaultName(const label n=-1)
Default patch name: "patch" or "patchN".
word & geometricType() noexcept
Modifiable geometric type of the patch/zone.
geometricSurfacePatch & operator=(const geometricSurfacePatch &)=default
Copy assignment.
geometricSurfacePatch(const geometricSurfacePatch &)=default
Copy construct.
Identifies a surface patch/zone by name and index, with optional geometric type.
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 &)
Includes some standard C++ headers, defines global macros and templates used in multiple places by Op...
#define FOAM_DEPRECATED(since)
#define FOAM_DEPRECATED_FOR(since, replacement)
Helper to convert identifier types as an operation.