Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.3.x

This commit is contained in:
william 2014-04-03 10:59:06 +01:00
commit 8c8779d5ce
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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++;