108 t_ =
tr.t() +
tr.r().invTransform(t_);
178 return (tr1.
t() == tr2.
t() && tr1.
r() == tr2.
r());
190 const septernion&
tr,
210 const septernion&
tr,
230 const septernion&
tr,
240 const septernion&
tr,
250 const septernion& tr1,
251 const septernion& tr2
256 tr2.r().invTransform(tr1.
t()) + tr2.t(),
264 const septernion& tr1,
286 return septernion(
tr.t()/
s,
tr.r()/
s);
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
Septernion class used to perform translations and rotations in 3D space.
void operator*=(const septernion &)
void operator-=(const vector &)
quaternion conjugate(const quaternion &q)
Return the conjugate of the given quaternion.
tmp< faMatrix< Type > > operator*(const areaScalarField::Internal &, const faMatrix< Type > &)
static const Identity< scalar > I
septernion & operator=(const septernion &)=default
Copy assignment.
Quaternion class used to perform rotations in 3D space.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
septernion()=default
Default construct.
void operator/=(const quaternion &)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
static const quaternion I
void operator+=(const vector &)
vector invTransformPoint(const vector &v) const
Inverse Transform the given coordinate point.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
bool operator!=(const eddy &a, const eddy &b)
const quaternion & r() const
vector invTransform(const vector &v) const
Rotate the given vector anti-clockwise.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
vector transformPoint(const vector &v) const
Transform the given coordinate point.
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))
vector transform(const vector &v) const
Rotate the given vector.
static constexpr const zero Zero
Global zero (0)