A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects which are known to be zero at compile-time. More...
Public Member Functions | |
zeroField () | |
Construct null. More... | |
scalar | operator[] (const label) const |
zeroField | field () const |
![]() | |
zero () | |
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects which are known to be zero at compile-time.
Used for example as the argument to a function in which certain terms are optional, see source terms in the MULES solvers.
Definition at line 50 of file zeroField.H.
|
inline |
Construct null.
Definition at line 59 of file zeroField.H.
|
inline |
Definition at line 30 of file zeroFieldI.H.
|
inline |
Definition at line 36 of file zeroFieldI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.