147 return Cmpt(v1.
x()*v2.
x() + v1.
y()*v2.
y() + v1.
z()*v2.
z());
156 (v1.
y()*v2.
z() - v1.
z()*v2.
y()),
157 (v1.
z()*v2.
x() - v1.
x()*v2.
z()),
158 (v1.
x()*v2.
y() - v1.
y()*v2.
x())
HashSet< Key, Hash > operator^(const HashSet< Key, Hash > &hash1, const HashSet< Key, Hash > &hash2)
Create a HashSet that only contains unique entries (xor)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const Vector< Cmpt > & centre(const Foam::List< Vector< Cmpt >> &) const
Return *this (used for point which is a typedef to Vector<scalar>.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
VectorSpace< Vector< Cmpt >, Cmpt, Ncmpts > vsType
VectorSpace type.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Cmpt v_[Ncmpts]
The components of this vector space.