107 return st.
ii()*st.
ii();
116 if (
mag(st.
ii()) < VSMALL)
119 <<
"SphericalTensor2D is not invertible due to zero determinant:"
120 <<
"det(SphericalTensor2D) = " <<
det(st)
133inline SphericalTensor2D<Cmpt>
137 if (
mag(st.
ii()) < VSMALL)
141 <<
" is not divisible due to a zero element in SphericalTensor2D:"
142 <<
"SphericalTensor2D = " << st
153inline SphericalTensor2D<Cmpt>
160 <<
"SphericalTensor2D = " << st
161 <<
" is not divisible due to a zero value in Cmpt:"
173inline SphericalTensor2D<Cmpt>
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A templated (2 x 2) diagonal tensor of objects of <T>, effectively containing 1 element,...
SphericalTensor2D()=default
Default construct.
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
const Cmpt & y() const
Access to the vector y component.
const Cmpt & x() const
Access to the vector x component.
SphericalTensor2D< Cmpt > type
SphericalTensor2D< Cmpt > type
SphericalTensor2D< Cmpt > type
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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))
dimensionedScalar det(const dimensionedSphericalTensor &dt)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
dimensionedScalar operator/(const scalar s1, const dimensionedScalar &ds2)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
errorManip< error > abort(error &err)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)