141 dt1.
xx() + t2.
xx(), t2.
xy(), t2.
xz(),
142 t2.
yx(), dt1.
yy() + t2.
yy(), t2.
yz(),
143 t2.
zx(), t2.
zy(), dt1.
zz() + t2.
zz()
154 t1.
xx() + dt2.
xx(), t1.
xy(), t1.
xz(),
155 t1.
yx(), t1.
yy() + dt2.
yy(), t1.
yz(),
156 t1.
zx(), t1.
zy(), t1.
zz() + dt2.
zz()
167 dt1.
xx() - t2.
xx(), -t2.
xy(), -t2.
xz(),
168 -t2.
yx(), dt1.
yy() - t2.
yy(), -t2.
yz(),
169 -t2.
zx(), -t2.
zy(), dt1.
zz() - t2.
zz()
180 t1.
xx() - dt2.
xx(), t1.
xy(), t1.
xz(),
181 t1.
yx(), t1.
yy() - dt2.
yy(), t1.
yz(),
182 t1.
zx(), t1.
zy(), t1.
zz() - dt2.
zz()
193 dt1.
xx() + t2.
xx(), t2.
xy(), t2.
xz(),
194 dt1.
yy() + t2.
yy(), t2.
yz(),
206 t1.
xx() + dt2.
xx(), t1.
xy(), t1.
xz(),
207 t1.
yy() + dt2.
yy(), t1.
yz(),
219 dt1.
xx() - t2.
xx(), -t2.
xy(), -t2.
xz(),
220 dt1.
yy() - t2.
yy(), -t2.
yz(),
232 t1.
xx() - dt2.
xx(), t1.
xy(), t1.
xz(),
233 t1.
yy() - dt2.
yy(), t1.
yz(),
347 return dt.
xx() + dt.
yy() + dt.
zz();
363 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.
SymmTensor< Cmpt > operator+(const SymmTensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
SymmTensor< Cmpt > operator-(const SymmTensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
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.
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.
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.