diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C index b3a0ae341279e8214ce828e15e3ba6af3c4c0347..11922c3c380dc55c9df1c77d9ad102929f8a7c70 100644 --- a/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/redistributeMeshPar.C @@ -73,8 +73,8 @@ autoPtr<fvMesh> createMesh const bool haveMesh ) { - Pout<< "Create mesh for time = " - << runTime.timeName() << nl << endl; + //Pout<< "Create mesh for time = " + // << runTime.timeName() << nl << endl; IOobject io ( @@ -98,12 +98,12 @@ autoPtr<fvMesh> createMesh xferCopy(labelList()), false ); - Pout<< "Writing dummy mesh to " << dummyMesh.polyMesh::objectPath() - << endl; + //Pout<< "Writing dummy mesh to " << dummyMesh.polyMesh::objectPath() + // << endl; dummyMesh.write(); } - Pout<< "Reading mesh from " << io.objectPath() << endl; + //Pout<< "Reading mesh from " << io.objectPath() << endl; autoPtr<fvMesh> meshPtr(new fvMesh(io)); fvMesh& mesh = meshPtr(); @@ -201,9 +201,8 @@ autoPtr<fvMesh> createMesh break; } - Pout<< "Adding patch:" << nPatches - << " name:" << name - << " type:" << type << endl; + //Pout<< "Adding patch:" << nPatches + // << " name:" << name << " type:" << type << endl; dictionary patchDict(e.dict()); patchDict.remove("nFaces"); @@ -282,8 +281,7 @@ autoPtr<fvMesh> createMesh if (!haveMesh) { // We created a dummy mesh file above. Delete it. - Pout<< "Removing dummy mesh " << io.objectPath() - << endl; + //Pout<< "Removing dummy mesh " << io.objectPath() << endl; rmDir(io.objectPath()); } @@ -351,17 +349,19 @@ scalar getMergeDistance } -void printMeshData(Ostream& os, const polyMesh& mesh) -{ - os << "Number of points: " << mesh.points().size() << nl - << " faces: " << mesh.faces().size() << nl - << " internal faces: " << mesh.faceNeighbour().size() << nl - << " cells: " << mesh.cells().size() << nl - << " boundary patches: " << mesh.boundaryMesh().size() << nl - << " point zones: " << mesh.pointZones().size() << nl - << " face zones: " << mesh.faceZones().size() << nl - << " cell zones: " << mesh.cellZones().size() << nl; -} +//void printMeshData(Ostream& os, const polyMesh& mesh) +//{ +// os << "Number of points: " << mesh.points().size() << nl +// << " faces: " << mesh.faces().size() << nl +// << " internal faces: " << mesh.faceNeighbour().size() << nl +// << " cells: " << mesh.cells().size() << nl +// << " boundary patches: " << mesh.boundaryMesh().size() << nl +// << " point zones: " << mesh.pointZones().size() << nl +// << " face zones: " << mesh.faceZones().size() << nl +// << " cell zones: " << mesh.cellZones().size() << nl; +//} + + void printMeshData(const polyMesh& mesh) { // Collect all data on master @@ -917,8 +917,8 @@ int main(int argc, char *argv[]) // Mesh distribution engine fvMeshDistribute distributor(mesh, tolDim); - Pout<< "Wanted distribution:" - << distributor.countCells(finalDecomp) << nl << endl; + //Pout<< "Wanted distribution:" + // << distributor.countCells(finalDecomp) << nl << endl; // Do actual sending/receiving of mesh autoPtr<mapDistributePolyMesh> map = distributor.distribute(finalDecomp); @@ -988,7 +988,7 @@ int main(int argc, char *argv[]) Info<< endl; - Pout<< "End\n" << endl; + Info<< "End\n" << endl; return 0; }