80 constexpr
operator bool() const
noexcept {
return false; }
83 constexpr
operator label() const
noexcept {
return 0; }
86 constexpr
operator float() const
noexcept {
return 0; }
89 constexpr
operator double() const
noexcept {
return 0; }
constexpr zero operator()(const T &) const noexcept
Unary functor returns zero.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr zero() noexcept
Default construct.
zero operator[](const label) const noexcept
Component-wise or element-wise access returns zero.
Typedefs for label/uLabel without requiring label.H.
Istream & operator>>(Istream &, directionInfo &)
static zero dummy
A static instance, when modifiable reference is required by an API.
zero value_type
The value type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
static constexpr const zero Zero
Global zero (0)