STYLE: remove all references to wallPoint::greatPoint.

Replaced with point::max wherever possible. Is VGREAT, not GREAT so be
careful with calculations.
This commit is contained in:
mattijs
2010-03-17 11:48:44 +00:00
parent 56acb3752c
commit f1ab396a66
22 changed files with 44 additions and 97 deletions

View File

@ -162,15 +162,13 @@ void Foam::domainDecomposition::distributeCells()
// somewhere in the middle of the domain which might not be anywhere
// near any of the cells.
const point greatPoint(GREAT, GREAT, GREAT);
pointField regionCentres(globalRegion.nRegions(), greatPoint);
pointField regionCentres(globalRegion.nRegions(), point::max);
forAll(globalRegion, cellI)
{
label regionI = globalRegion[cellI];
if (regionCentres[regionI] == greatPoint)
if (regionCentres[regionI] == point::max)
{
regionCentres[regionI] = cellCentres()[cellI];
}