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 |
Public Types inherited from one | |
typedef one | value_type |
The value type. More... | |
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 |
oneField | primitiveField () const noexcept |
Boundary | boundaryField () const noexcept |
Internal | v () const noexcept |
one | operator[] (const label) const noexcept |
Internal | operator() () const noexcept |
Public Member Functions inherited from one | |
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... | |
one | operator[] (const label) const noexcept |
Component-wise or element-wise access returns one. 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 48 of file geometricOneField.H.
Definition at line 56 of file geometricOneField.H.
Definition at line 57 of file geometricOneField.H.
typedef oneFieldField Boundary |
Definition at line 58 of file geometricOneField.H.
Definition at line 59 of file geometricOneField.H.
|
defaultnoexcept |
Default construct.
|
inlinenoexcept |
Definition at line 72 of file geometricOneField.H.
References Foam::dimless.
|
inlinenoexcept |
Definition at line 77 of file geometricOneField.H.
|
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 103 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 111 of file geometricOneField.H.
|
inlinenoexcept |
Definition at line 116 of file geometricOneField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.