A class representing the concept of a field of oneFields used to avoid unnecessary manipulations for objects which are known to be one at compile-time. More...
Public Member Functions | |
oneFieldField () noexcept=default | |
oneField | operator[] (const label) const noexcept |
![]() | |
constexpr | one () noexcept |
constexpr | one (Istream &) noexcept |
constexpr | operator label () const noexcept |
constexpr | operator float () const noexcept |
constexpr | operator double () const noexcept |
Additional Inherited Members | |
![]() | |
typedef one | value_type |
A class representing the concept of a field of oneFields 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 47 of file oneFieldField.H.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 61 of file oneFieldField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.