170 return (tr1.
t() == tr2.
t() && tr1.
r() == tr2.
r());
248 tr2.r().invTransform(tr1.
t()) + tr2.t(),
const quaternion & r() const
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
tmp< fvMatrix< Type > > operator*(const DimensionedField< scalar, volMesh > &, const fvMatrix< Type > &)
Septernion class used to perform translations and rotations in 3D space.
septernion()
Construct null.
void operator*=(const septernion &)
void operator-=(const vector &)
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))
quaternion conjugate(const quaternion &q)
Return the conjugate of the given quaternion.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Quaternion class used to perform rotations in 3D space.
void operator=(const septernion &)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
static const septernion I
vector transformPoint(const vector &v) const
Transform the given coordinate point.
void operator/=(const quaternion &)
static const quaternion I
vector transform(const vector &v) const
Rotate the given vector.
void operator+=(const vector &)
vector invTransform(const vector &v) const
Rotate the given vector anti-clockwise.
bool operator!=(const particle &, const particle &)
vector invTransformPoint(const vector &v) const
Inverse Transform the given coordinate point.