A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for objects which are known to be one at compile-time. More...
Public Types | |
typedef oneField | Internal |
typedef oneField | Patch |
typedef oneFieldField | Boundary |
typedef one | cmptType |
![]() | |
typedef one | value_type |
Public Member Functions | |
geometricOneField () noexcept=default | |
Default construct. More... | |
const dimensionSet & | dimensions () const noexcept |
oneField | field () const noexcept |
oneField | oldTime () const noexcept |
Internal | internalField () const noexcept |
Internal | primitiveField () const noexcept |
Boundary | boundaryField () const noexcept |
Internal | v () const noexcept |
one | operator[] (const label) const noexcept |
Internal | operator() () const noexcept |
![]() | |
constexpr | one () noexcept |
Default construct. More... | |
constexpr | one (Istream &) noexcept |
Construct from Istream consumes no content. More... | |
constexpr | operator label () const noexcept |
Return 1 for label. More... | |
constexpr | operator float () const noexcept |
Return 1 for float. More... | |
constexpr | operator double () const noexcept |
Return 1 for double. More... | |
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for objects which are known to be one at compile-time.
Used for example as the density argument to a function written for compressible to be used for incompressible flow.
Definition at line 55 of file geometricOneField.H.
Definition at line 63 of file geometricOneField.H.
Definition at line 64 of file geometricOneField.H.
typedef oneFieldField Boundary |
Definition at line 65 of file geometricOneField.H.
Definition at line 66 of file geometricOneField.H.
|
defaultnoexcept |
Default construct.
|
inlinenoexcept |
Definition at line 77 of file geometricOneField.H.
References Foam::dimless.
|
inlinenoexcept |
Definition at line 82 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 87 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 92 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 97 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 102 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 108 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 116 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 121 of file geometricOneField.H.