89 if (
mag(tr.
r().
R() -
I) > SMALL)
const quaternion & r() const
void transformPoints(vectorField &, const septernion &, const vectorField &)
Transform given vectorField of coordinates with the given septernion.
void size(const label)
Override size to be inconsistent with allocated storage.
tensor R() const
The rotation tensor corresponding the quaternion.
volVectorField vectorField(fieldObject, mesh)
Septernion class used to perform translations and rotations in 3D space.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
void clear() const
If object pointer points to valid object:
static const Identity< scalar > I
Quaternion class used to perform rotations in 3D space.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
#define TFOR_ALL_F_OP_FUNC_S_F(typeF1, f1, OP, FUNC, typeS, s, typeF2, f2)
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
T & ref() const
Return non-const reference or generate a fatal error.
#define TFOR_ALL_F_OP_F_OP_S(typeF1, f1, OP1, typeF2, f2, OP2, typeS, s)
dimensionSet transform(const dimensionSet &)