36 quaternion(0,
vector(0, 0, 0))
41 quaternion(1,
vector(0, 0, 0))
57 buf <<
'(' <<
s.t() <<
',' <<
s.r() <<
')';
83 sa.
t() += w[i]*ss[i].t();
86 if ((sa.
r() & ss[i].r()) > 0)
88 sa.
r() += w[i]*ss[i].r();
92 sa.
r() -= w[i]*ss[i].r();
109 is >>
s.t() >>
s.r();
115 is.
check(
"operator>>(Istream&, septernion&)");
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Istream & readEnd(const char *funcName)
Istream & readBegin(const char *funcName)
Output to memory buffer stream.
string str() const
Return the string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
Return the number of elements in the UList.
Septernion class used to perform translations and rotations in 3D space.
const quaternion & r() const
static const septernion zero
static const septernion I
septernion()
Construct null.
static const char *const typeName
A class for handling words, derived from string.
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))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
Vector< scalar > vector
A scalar version of the templated Vector.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
quaternion slerp(const quaternion &qa, const quaternion &qb, const scalar t)
Spherical linear interpolation of quaternions.