Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2013-08-12 15:52:59 +01:00
31 changed files with 1108 additions and 42 deletions

View File

@ -136,7 +136,13 @@ void getBand
}
bandwidth = max(cellBandwidth);
profile = sum(1.0*cellBandwidth);
// Do not use field algebra because of conversion label to scalar
profile = 0.0;
forAll(cellBandwidth, cellI)
{
profile += 1.0*cellBandwidth[cellI];
}
sumSqrIntersect = 0.0;
if (calculateIntersect)