Go to the documentation of this file.
89 if (
mag(t.
xy()) < SMALL &&
mag(t.
yx()) < SMALL)
96 scalar mb = t.
xx() + t.
yy();
107 scalar disc =
sqr(mb) - 4*
c;
111 scalar q =
sqrt(disc);
119 <<
"zero and complex eigenvalues in tensor2D: " << t
142 if (
mag(t.
xy()) < SMALL &&
mag(t.
yx()) < SMALL)
153 else if (
mag(t.
xy()) < SMALL)
static const Tensor2D zero
dimensionedTensor eigenVectors(const dimensionedTensor &dt)
static const Tensor2D one
static const Vector2D zero
dimensioned< scalar > mag(const dimensioned< Type > &)
Templated 2D tensor derived from VectorSpace adding construction from 4 components,...
vector eigenVector(const tensor &, const scalar lambda)
dimensionedVector eigenValues(const dimensionedTensor &dt)
static const Tensor2D max
errorManip< error > abort(error &err)
static const Tensor2D min
Tensor2D< scalar > tensor2D
Tensor2D or scalars.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Vector2D< scalar > vector2D
vector2D obtained from generic Vector2D
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionedScalar c
Speed of light in a vacuum.
static const char *const typeName
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
static const char * componentNames[]