Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x
This commit is contained in:
commit
8c8779d5ce
2 changed files with 3 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ Foam::vector Foam::eigenValues(const tensor& t)
|
||||||
+ t.xy()*t.yx()*t.zz() + t.xx()*t.yz()*t.zy();
|
+ t.xy()*t.yx()*t.zz() + t.xx()*t.yz()*t.zy();
|
||||||
|
|
||||||
// If there is a zero root
|
// If there is a zero root
|
||||||
if (mag(c) < ROOTVSMALL)
|
if (mag(c) < 1e-100)
|
||||||
{
|
{
|
||||||
scalar disc = sqr(a) - 4*b;
|
scalar disc = sqr(a) - 4*b;
|
||||||
|
|
||||||
|
|
@ -313,7 +313,7 @@ Foam::vector Foam::eigenValues(const symmTensor& t)
|
||||||
+ t.xy()*t.xy()*t.zz() + t.xx()*t.yz()*t.yz();
|
+ t.xy()*t.xy()*t.zz() + t.xx()*t.yz()*t.yz();
|
||||||
|
|
||||||
// If there is a zero root
|
// If there is a zero root
|
||||||
if (mag(c) < ROOTVSMALL)
|
if (mag(c) < 1e-100)
|
||||||
{
|
{
|
||||||
scalar disc = sqr(a) - 4*b;
|
scalar disc = sqr(a) - 4*b;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ Foam::radiation::wideBandAbsorptionEmission::wideBandAbsorptionEmission
|
||||||
<< nl << exit(FatalError);
|
<< nl << exit(FatalError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
coeffs_[nSpec][nBand].initialise(specDicts.subDict(key));
|
coeffs_[nBand][nSpec].initialise(specDicts.subDict(key));
|
||||||
nSpec++;
|
nSpec++;
|
||||||
}
|
}
|
||||||
nBand++;
|
nBand++;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue