Go to the documentation of this file.
101 inline Cmpt& DiagTensor<Cmpt>::yy()
107 inline Cmpt& DiagTensor<Cmpt>::zz()
121 dt1.
xx() + t2.
xx(), t2.
xy(), t2.
xz(),
122 t2.
yx(), dt1.
yy() + t2.
yy(), t2.
yz(),
123 t2.
zx(), t2.
zy(), dt1.
zz() + t2.
zz()
134 t1.
xx() + dt2.
xx(), t1.
xy(), t1.
xz(),
135 t1.
yx(), t1.
yy() + dt2.
yy(), t1.
yz(),
136 t1.
zx(), t1.
zy(), t1.
zz() + dt2.
zz()
147 dt1.
xx() - t2.
xx(), -t2.
xy(), -t2.
xz(),
148 -t2.
yx(), dt1.
yy() - t2.
yy(), -t2.
yz(),
149 -t2.
zx(), -t2.
zy(), dt1.
zz() - t2.
zz()
160 t1.
xx() - dt2.
xx(), t1.
xy(), t1.
xz(),
161 t1.
yx(), t1.
yy() - dt2.
yy(), t1.
yz(),
162 t1.
zx(), t1.
zy(), t1.
zz() - dt2.
zz()
169 inline DiagTensor<Cmpt>
255 inline DiagTensor<Cmpt>
275 return dt.
xx() + dt.
yy() + dt.
zz();
291 return t.
xx()*t.
yy()*t.
zz();
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
Templated 3D symmetric tensor derived from VectorSpace adding construction from 6 components,...
Templated 3D DiagTensor derived from VectorSpace.
DiagTensor()
Construct null.
Cmpt det(const DiagTensor< Cmpt > &t)
Return the determinant of a diagonal tensor.
Cmpt tr(const DiagTensor< Cmpt > &dt)
Return the trace of a diagonal tensor.
Tensor< Cmpt > operator-(const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Vector< Cmpt > operator&(const Vector< Cmpt > &v, const DiagTensor< Cmpt > &dt)
Inner-product between a vector and a diagonal tensor.
DiagTensor< Cmpt > diag(const Tensor< Cmpt > &t)
Return the diagonal of a tensor as a diagonal tensor.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
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,...
Tensor< Cmpt > operator+(const Tensor< Cmpt > &t1, const DiagTensor< Cmpt > &dt2)
DiagTensor< Cmpt > inv(const DiagTensor< Cmpt > &dt)
Return the inverse of a diagonal tensor.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
Vector< Cmpt > operator/(const Vector< Cmpt > v, const DiagTensor< Cmpt > &dt)
Division of a vector by a diagonalTensor.