A class representing the concept of a field of 1 used to avoid unnecessary manipulations for objects which are known to be one at compile-time. More...
#include <OpenFOAM/oneField.H>
A class representing the concept of a field 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 51 of file oneField.H.
Public Member Functions | |
oneField () | |
Construct null. | |
scalar | operator[] (const label) const |
![]() | |
one () | |
Construct null. |
|
inline |
Construct null.
Definition at line 61 of file oneField.H.
|
inline |
Definition at line 30 of file oneFieldI.H.