89 void scale(Other& o)
const;
105 template<
class Other>
109 template<
class Other>
120 template<
class Type,
class Other>
124 template<
class Type,
class Other>
128 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...
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.