55 const scalar
a = this->
a();
56 const scalar
b = this->
b();
57 const scalar
c = this->
c();
65 scalar disc =
b*
b/4 -
a*
c;
75 const bool oneReal = disc == 0;
76 const bool twoReal = disc > 0;
Templated storage for the roots of polynomial equations, plus flags to indicate the nature of the roo...
Linear equation of the form a*x + b = 0.
Roots< 1 > roots() const
Get the roots.
Roots< 2 > roots(const bool real=false) const
Get the roots.
dimensionedScalar sign(const dimensionedScalar &ds)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)