dimensionSet trans(const dimensionSet &ds)
Check the argument is dimensionless (for transcendental functions)
void clear() const noexcept
Septernion class used to perform translations and rotations in 3D space.
A class for managing temporary objects.
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
#define TFOR_ALL_F_OP_F_OP_S(typeF1, f1, OP1, typeF2, f2, OP2, typeS, s)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Quaternion class used to perform 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;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void transformPoints(vectorField &, const septernion &, const vectorField &)
Transform given vectorField of coordinates with the given septernion.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
#define TFOR_ALL_F_OP_FUNC_S_F(typeF1, f1, OP, FUNC, typeS, s, typeF2, f2)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tensor R() const
The rotation tensor corresponding to the quaternion.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
static const Identity< scalar > I