Go to the documentation of this file.
51 const scalar
s = n1 & n2;
53 const scalar magSqrN3 =
magSqr(n3);
61 + (1 -
s)*
sqr(n3)/magSqrN3
191 template<
class Type1,
class Type2>
229 scalar
cos = vec & e0;
230 scalar
sin = vec & e1;
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
Templated 3D symmetric tensor derived from VectorSpace adding construction from 6 components,...
dimensionedScalar sin(const dimensionedScalar &ds)
Tensor< scalar > tensor
Tensor of scalars.
symmTensor transformMask< symmTensor >(const symmTensor &st)
dimensionSet transform(const dimensionSet &)
const scalar piByTwo(0.5 *pi)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
static const sphericalTensor I(1)
scalar pseudoAngle(const vector &e0, const vector &e1, const vector &vec)
Estimate angle of vec in coordinate system (e0, e1, e0^e1).
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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
Type1 transformMask(const Type2 &t)
sphericalTensor transformMask< sphericalTensor >(const symmTensor &st)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
tensor rotationTensor(const vector &n1, const vector &n2)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
dimensionedScalar cos(const dimensionedScalar &ds)