Merge branch 'master' into cvm

This commit is contained in:
graham
2010-08-10 11:11:33 +01:00
24 changed files with 549 additions and 219 deletions

View File

@ -338,20 +338,18 @@ Foam::label Foam::checkTopology
const pointField& pts = pp.points();
const labelList& mp = pp.meshPoints();
boundBox bb; // zero-sized
if (returnReduce(mp.size(), sumOp<label>()) > 0)
{
bb.min() = pts[mp[0]];
bb.max() = pts[mp[0]];
for (label i = 1; i < mp.size(); i++)
boundBox bb(point::max, point::min);
forAll (mp, i)
{
bb.min() = min(bb.min(), pts[mp[i]]);
bb.max() = max(bb.max(), pts[mp[i]]);
}
reduce(bb.min(), minOp<vector>());
reduce(bb.max(), maxOp<vector>());
Pout<< ' ' << bb;
}
Pout<< ' ' << bb;
}
Pout<< endl;
}

View File

@ -296,6 +296,7 @@ int main(int argc, char *argv[])
);
#include "addOverwriteOption.H"
#include "addRegionOption.H"
argList::addBoolOption
(
"dict",
@ -305,7 +306,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createPolyMesh.H"
#include "createNamedPolyMesh.H"
const word oldInstance = mesh.pointsInstance();
printEdgeStats(mesh);