Go to the documentation of this file.
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)
162 label
index() const noexcept
168 label&
index() noexcept
176 return geometricType_;
182 return geometricType_;
223 bool operator==(
const geometricSurfacePatch& a,
const geometricSurfacePatch&
b);
226 bool operator!=(
const geometricSurfacePatch& a,
const geometricSurfacePatch&
b);
230 Istream&
operator>>(Istream& is, geometricSurfacePatch& obj);
233 Ostream&
operator<<(Ostream&
os,
const geometricSurfacePatch& obj);
A class for handling words, derived from Foam::string.
Identifies a surface patch/zone by name and index, with geometric type.
static word defaultName(const label n=-1)
Istream & operator>>(Istream &, directionInfo &)
Identifies a surface patch/zone by name and index, with optional geometric type.
word & geometricType() noexcept
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
const dimensionedScalar b
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label index() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void write(Ostream &os) const
#define FOAM_DEPRECATED(since)
static constexpr const char *const emptyType
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
const word & geometricType() const noexcept
const word & name() const noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeDict(Ostream &os) const
geometricSurfacePatch & operator=(const geometricSurfacePatch &)=default