128 dt1.
xx() + t2.
xx(), t2.
xy(), t2.
xz(),
129 t2.
yx(), dt1.
yy() + t2.
yy(), t2.
yz(),
130 t2.
zx(), t2.
zy(), dt1.
zz() + t2.
zz()
141 t1.
xx() + dt2.
xx(), t1.
xy(), t1.
xz(),
142 t1.
yx(), t1.
yy() + dt2.
yy(), t1.
yz(),
143 t1.
zx(), t1.
zy(), t1.
zz() + dt2.
zz()
154 dt1.
xx() - t2.
xx(), -t2.
xy(), -t2.
xz(),
155 -t2.
yx(), dt1.
yy() - t2.
yy(), -t2.
yz(),
156 -t2.
zx(), -t2.
zy(), dt1.
zz() - t2.
zz()
167 t1.
xx() - dt2.
xx(), t1.
xy(), t1.
xz(),
168 t1.
yx(), t1.
yy() - dt2.
yy(), t1.
yz(),
169 t1.
zx(), t1.
zy(), t1.
zz() - dt2.
zz()
282 return dt.
xx() + dt.
yy() + dt.
zz();
298 return t.
xx()*t.
yy()*t.
zz();
DiagTensor< Cmpt > diag(const Tensor< Cmpt > &t)
Return the diagonal of a tensor as a diagonal tensor.
Templated 3D symmetric tensor derived from VectorSpace adding construction from 6 components...
DiagTensor< Cmpt > inv(const DiagTensor< Cmpt > &dt)
Return the inverse of a diagonal tensor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component, element access using th ii() member function and the inner-product (dot-product) and outer-product operators.
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))
Vector< Cmpt > operator/(const Vector< Cmpt > v, const DiagTensor< Cmpt > &dt)
Division of a vector by a diagonalTensor.
Tensor< Cmpt > operator+(const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
Templated 3D DiagTensor derived from VectorSpace.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
DiagTensor()
Construct null.
Cmpt tr(const DiagTensor< Cmpt > &dt)
Return the trace of a diagonal tensor.
Vector< Cmpt > operator &(const Vector< Cmpt > &v, const DiagTensor< Cmpt > &dt)
Inner-product between a vector and a diagonal tensor.
Cmpt det(const DiagTensor< Cmpt > &t)
Return the determinant of a diagonal tensor.
Tensor< Cmpt > operator-(const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Templated 3D tensor derived from MatrixSpace adding construction from 9 components, element access using xx(), xy() etc. member functions and the inner-product (dot-product) and outer-product of two Vectors (tensor-product) operators.