mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added static data boundBox::greatBox and boundBox::invertedBox
- boundBox::invertedBox is useful for initializing our own calculations - NOTE treeBoundBox::greatBox is still in place, since it uses GREAT instead of VGREAT. If this is only historical, we can drop it.
This commit is contained in:
@ -109,7 +109,7 @@ Foam::label Foam::checkTopology
|
||||
{
|
||||
Info<< " Number of regions: " << rs.nRegions() << " (OK)."
|
||||
<< endl;
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -214,7 +214,7 @@ Foam::label Foam::checkTopology
|
||||
const pointField& pts = pp.points();
|
||||
const labelList& mp = pp.meshPoints();
|
||||
|
||||
boundBox bb(vector::zero, vector::zero);
|
||||
boundBox bb; // zero-sized
|
||||
if (returnReduce(mp.size(), sumOp<label>()) > 0)
|
||||
{
|
||||
bb.min() = pts[mp[0]];
|
||||
|
||||
Reference in New Issue
Block a user