A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for objects which are known to be zero at compile-time. More...
Public Member Functions | |
geometricZeroField () | |
Construct null. More... | |
const dimensionSet & | dimensions () const |
scalar | operator[] (const label) const |
zeroField | field () const |
zeroField | oldTime () const |
zeroFieldField | boundaryField () const |
![]() | |
zero () | |
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for objects which are known to be zero 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 52 of file geometricZeroField.H.
|
inline |
Construct null.
Definition at line 62 of file geometricZeroField.H.
|
inline |
Definition at line 30 of file geometricZeroFieldI.H.
References Foam::dimless.
|
inline |
Definition at line 35 of file geometricZeroFieldI.H.
|
inline |
Definition at line 40 of file geometricZeroFieldI.H.
|
inline |
Definition at line 45 of file geometricZeroFieldI.H.
|
inline |
Definition at line 50 of file geometricZeroFieldI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.