116 template<
class Other>
131 template<
class Other>
151 template<
class Type,
class Other>
159 template<
class Type,
class Other>
167 template<
class Type,
class Other>
Variant type that either contains and behaves as tmp object or represents a value of one....
oneOrTmp()
Construct as one.
void scale(Other &o) const
Scale an object by this value.
tmp< Other > operator*(const Other &)
Multiply with an object.
oneOrTmp< Type > operator()() const
Return an instance of the class which refers to this one. Used in.
void operator=(const one &)
Assign to one.
A class representing the concept of 1 (scalar(1)) used to avoid unnecessary manipulations for objects...
A class for managing temporary objects.
void clear() const
If object pointer points to valid object:
tmp< DimensionedField< Type, GeoMesh, Field > > operator*(const DimensionedField< Type, GeoMesh, PrimitiveField1 > &df1, const DimensionedField< scalar, GeoMesh, PrimitiveField2 > &df2)
void operator*=(Other &, const oneOrTmp< Type > &)
Multiply-assign with an object.