Go to the documentation of this file.
108 t_ =
tr.t() +
tr.r().invTransform(t_);
178 return (tr1.
t() == tr2.
t() && tr1.
r() == tr2.
r());
256 tr2.r().invTransform(tr1.
t()) + tr2.t(),
void operator/=(const quaternion &)
Septernion class used to perform translations and rotations in 3D space.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
static constexpr const zero Zero
Global zero (0)
static const quaternion I
Quaternion class used to perform rotations in 3D space.
void operator*=(const septernion &)
bool operator!=(const eddy &a, const eddy &b)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void operator-=(const vector &)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
septernion & operator=(const septernion &)=default
Copy assignment.
void operator+=(const vector &)
tmp< faMatrix< Type > > operator*(const areaScalarField &, const faMatrix< Type > &)
const quaternion & r() const
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 invTransformPoint(const vector &v) const
Inverse Transform the given coordinate point.
vector transformPoint(const vector &v) const
Transform the given coordinate point.
septernion()=default
Default construct.
vector transform(const vector &v) const
Rotate the given vector.
static const Identity< scalar > I
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...