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 Types | |
typedef zeroField | Internal |
typedef zeroField | Patch |
typedef zeroFieldField | Boundary |
typedef zero | cmptType |
![]() | |
typedef zero | value_type |
Public Member Functions | |
geometricZeroField () | |
Construct null. More... | |
const dimensionSet & | dimensions () const |
scalar | operator[] (const label) const |
geometricZeroField | oldTime () const |
Internal | operator() () const |
Internal | internalField () const |
Internal | v () const |
Internal::FieldType | primitiveField () const |
Boundary | boundaryField () const |
![]() | |
zero () | |
Construct null. More... | |
operator bool () const | |
Return 0 for bool. More... | |
operator label () const | |
Return 0 for label. More... | |
operator float () const | |
Return 0 for float. More... | |
operator double () const | |
Return 0 for double. More... | |
operator long double () const | |
Return 0 for double. More... | |
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.
Definition at line 61 of file geometricZeroField.H.
Definition at line 62 of file geometricZeroField.H.
typedef zeroFieldField Boundary |
Definition at line 63 of file geometricZeroField.H.
Definition at line 64 of file geometricZeroField.H.
|
inline |
Construct null.
Definition at line 70 of file geometricZeroField.H.
|
inline |
Definition at line 30 of file geometricZeroFieldI.H.
References Foam::dimless.
|
inline |
Definition at line 36 of file geometricZeroFieldI.H.
|
inline |
Definition at line 42 of file geometricZeroFieldI.H.
|
inline |
Definition at line 49 of file geometricZeroFieldI.H.
|
inline |
Definition at line 56 of file geometricZeroFieldI.H.
|
inline |
Definition at line 63 of file geometricZeroFieldI.H.
|
inline |
Definition at line 70 of file geometricZeroFieldI.H.
|
inline |
Definition at line 77 of file geometricZeroFieldI.H.