29 inline const T Foam::SVD::sign(
const T& a,
const T&
b)
32 return b >= 0 ? a : -a;
74 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.
void size(const label)
Override size to be inconsistent with allocated storage.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
const scalarDiagonalMatrix & S() const
Return the singular values.
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))
bool converged() const
Return the minimum non-zero singular value.
const scalarRectangularMatrix & V() const
Return the square matrix V.