39 #ifndef geometricSurfacePatch_H 40 #define geometricSurfacePatch_H 72 static constexpr
const char*
const emptyType =
"empty";
84 :
word(
"patch" + std::to_string(
n),
false)
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);
Identifies a surface patch/zone by name and index, with optional geometric type.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
geometricSurfacePatch & operator=(const geometricSurfacePatch &)=default
Copy assignment.
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
geometricSurfacePatch()
Default construct. Uses name="patch", index=0, type="".
static word defaultName(const label n=-1)
Default patch name: "patch" or "patchN".
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from Foam::string.
Istream & operator>>(Istream &, directionInfo &)
const word & name() const noexcept
The patch/zone name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
static constexpr const char *const emptyType
The name for an 'empty' type.
const word & geometricType() const noexcept
The geometric type of the patch/zone.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void writeDict(Ostream &os) const
Deprecated(2020-01) Write dictionary.
label index() const noexcept
The index of this patch/zone in the surface mesh.
Identifies a surface patch/zone by name and index, with geometric type.
Includes some standard C++ headers, defines global macros and templates used in multiple places by Op...
bool operator!=(const eddy &a, const eddy &b)
void write(Ostream &os) const
Write (geometricType) dictionary entry (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)