Go to the documentation of this file.
163 return Cmpt(v1.
x()*v2.
x() + v1.
y()*v2.
y() + v1.
z()*v2.
z());
172 (v1.
y()*v2.
z() - v1.
z()*v2.
y()),
173 (v1.
z()*v2.
x() - v1.
x()*v2.
z()),
174 (v1.
x()*v2.
y() - v1.
y()*v2.
x())
const Cmpt & x() const
Access to the vector x component.
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))
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
static constexpr const zero Zero
Global zero (0)
Vector< Cmpt > & normalise()
Normalise the vector by its magnitude.
Vector()=default
Default construct.
const Cmpt & z() const
Access to the vector z component.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const Vector< Cmpt > & centre(const Foam::List< Vector< Cmpt >> &) const
Return *this (used for point which is a typedef to Vector<scalar>.
PtrList< volScalarField > & Y
const Cmpt & y() const
Access to the vector y component.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
tmp< faMatrix< Type > > operator*(const areaScalarField &, const faMatrix< Type > &)
bitSet operator^(const bitSet &a, const bitSet &b)
Bitwise-XOR of two bitsets to form a unique bit-set.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...