84 return r().transform(v - t());
90 return t() + r().invTransform(v);
98 t_ =
tr.t() +
tr.r().invTransform(t_);
164 return (tr1.
t() == tr2.
t() && tr1.
r() == tr2.
r());
242 tr2.r().invTransform(tr1.
t()) + tr2.t(),
Quaternion class used to perform rotations in 3D space.
vector transform(const vector &v) const
Rotate the given vector.
static const quaternion I
vector invTransform(const vector &v) const
Rotate the given vector anti-clockwise.
Septernion class used to perform translations and rotations in 3D space.
vector invTransformPoint(const vector &v) const
Inverse Transform the given coordinate point.
void operator*=(const septernion &)
void operator=(const vector &)
void operator+=(const vector &)
const quaternion & r() const
vector transformPoint(const vector &v) const
Transform the given coordinate point.
void operator-=(const vector &)
septernion()
Construct null.
void operator/=(const quaternion &)
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.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
bool operator!=(const particle &, const particle &)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
static const Identity< scalar > I
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
quaternion conjugate(const quaternion &q)
Return the conjugate of the given quaternion.
tmp< fvMatrix< Type > > operator/(const fvMatrix< Type > &, const volScalarField::Internal &)