104 return Cmpt(v1.
x()*v2.
x() + v1.
y()*v2.
y());
111 return x()*b.
y()-
y()*b.
x();
scalar perp(const Vector2D< Cmpt > &b) const
Perp dot product (dot product with perpendicular vector)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
VectorSpace< Vector2D< Cmpt >, Cmpt, Ncmpts > vsType
VectorSpace type.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Vector2D()
Construct null.
Templated 2D Vector derived from VectorSpace adding construction from 2 components, element access using x() and y() member functions and the inner-product (dot-product).
Cmpt v_[Ncmpts]
The components of this vector space.