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...
#include <OpenFOAM/zeroField.H>
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 51 of file zeroField.H.
Public Member Functions | |
zeroField () | |
Construct null. | |
scalar | operator[] (const label) const |
zeroField | field () const |
zeroField | oldTime () const |
![]() | |
zero () |
|
inline |
Construct null.
Definition at line 60 of file zeroField.H.
|
inline |
Definition at line 30 of file zeroFieldI.H.
|
inline |
Definition at line 35 of file zeroFieldI.H.
|
inline |
Definition at line 40 of file zeroFieldI.H.