Go to the documentation of this file.
160 return (tr1.
t() == tr2.
t() && tr1.
r() == tr2.
r());
void operator/=(const quaternion &)
Septernion class used to perform translations and rotations in 3D space.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Quaternion class used to perform rotations in 3D space.
void operator*=(const septernion &)
vector transform(const vector &v) const
Transform the given vector.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const quaternion & r() const
void operator-=(const vector &)
static const sphericalTensor I(1)
bool operator!=(const particle &, const particle &)
void operator=(const septernion &)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
tmp< fvMatrix< Type > > operator*(const DimensionedField< scalar, volMesh > &, const fvMatrix< Type > &)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
septernion()
Construct null.
void operator+=(const vector &)
vector invTransform(const vector &v) const
Rotate the given vector anti-clockwise.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
quaternion conjugate(const quaternion &q)
Return the conjugate of the given quaternion.
vector invTransform(const vector &v) const
Inverse Transform the given vector.
vector transform(const vector &v) const
Rotate the given vector.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...