31 inline const T Foam::SVD::sign(
const T& a,
const T&
b)
34 return b >= 0 ? a : -a;
73 for (label i=1; i<S_.size(); i++)
76 if (
s > VSMALL &&
s < minS) minS =
s;
label nZeros() const
Return the number of zero singular values.
const scalarRectangularMatrix & U() const
Return U.
scalar minNonZeroS() const
Return the minimum non-zero singular value.
const scalarDiagonalMatrix & S() const
Return the singular values.
bool converged() const
Return the minimum non-zero singular value.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const scalarRectangularMatrix & V() const
Return the square matrix V.
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))