Class to determine the 'oriented' status of surface fields. More...
Public Types | |
enum | orientedOption { UNKNOWN = 0, ORIENTED = 1, UNORIENTED = 2 } |
Public Member Functions | |
orientedType () | |
orientedType (const orientedType &ot) | |
orientedType (const bool oriented) | |
orientedType (Istream &is) | |
orientedOption & | oriented () noexcept |
orientedOption | oriented () const noexcept |
void | setOriented (const bool oriented=true) noexcept |
void | read (const dictionary &dict) |
bool | writeEntry (Ostream &os) const |
void | operator= (const orientedType &ot) |
void | operator+= (const orientedType &ot) |
void | operator-= (const orientedType &ot) |
void | operator*= (const orientedType &ot) |
void | operator/= (const orientedType &ot) |
void | operator*= (const scalar s) |
void | operator/= (const scalar s) |
bool | operator() () const |
Static Public Member Functions | |
static bool | checkType (const orientedType &ot1, const orientedType &ot2) |
Static Public Attributes | |
static const Enum< orientedOption > | orientedOptionNames |
Friends | |
Istream & | operator>> (Istream &is, orientedType &ot) |
Ostream & | operator<< (Ostream &os, const orientedType &ot) |
Class to determine the 'oriented' status of surface fields.
Definition at line 52 of file orientedType.H.
enum orientedOption |
Enumerator | |
---|---|
UNKNOWN | |
ORIENTED | |
UNORIENTED |
Definition at line 59 of file orientedType.H.
orientedType | ( | ) |
Definition at line 59 of file orientedType.C.
orientedType | ( | const orientedType & | ot | ) |
Definition at line 65 of file orientedType.C.
|
explicit |
Definition at line 71 of file orientedType.C.
|
explicit |
Definition at line 77 of file orientedType.C.
References IOstream::check(), and FUNCTION_NAME.
|
static |
Definition at line 43 of file orientedType.C.
References orientedType::oriented().
Referenced by Foam::atan2(), Foam::hypot(), Foam::max(), Foam::min(), Foam::operator+(), and Foam::operator-().
|
noexcept |
Definition at line 87 of file orientedType.C.
Referenced by Foam::atan2(), orientedType::checkType(), Foam::hypot(), Foam::max(), Foam::min(), Foam::operator+(), orientedType::operator+=(), Foam::operator-(), orientedType::operator-=(), Foam::operator<<(), and orientedType::operator=().
|
noexcept |
|
noexcept |
Definition at line 99 of file orientedType.C.
void read | ( | const dictionary & | dict | ) |
Definition at line 105 of file orientedType.C.
References dict.
Definition at line 117 of file orientedType.C.
References os(), Foam::output(), and Ostream::writeEntry().
void operator= | ( | const orientedType & | ot | ) |
Definition at line 132 of file orientedType.C.
References orientedType::oriented().
void operator+= | ( | const orientedType & | ot | ) |
Definition at line 139 of file orientedType.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and orientedType::oriented().
void operator-= | ( | const orientedType & | ot | ) |
Definition at line 158 of file orientedType.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and orientedType::oriented().
void operator*= | ( | const orientedType & | ot | ) |
Definition at line 177 of file orientedType.C.
void operator/= | ( | const orientedType & | ot | ) |
Definition at line 191 of file orientedType.C.
void operator*= | ( | const scalar | s | ) |
Definition at line 205 of file orientedType.C.
void operator/= | ( | const scalar | s | ) |
Definition at line 211 of file orientedType.C.
bool operator() | ( | ) | const |
Definition at line 217 of file orientedType.C.
|
friend |
|
friend |
|
static |
Definition at line 67 of file orientedType.H.
Referenced by Foam::atan2(), Foam::hypot(), Foam::max(), Foam::min(), Foam::operator+(), Foam::operator-(), Foam::operator<<(), and Foam::operator>>().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.