Skip to content
Snippets Groups Projects
Commit 333aa977 authored by graham's avatar graham
Browse files

ENH: More debug output from non-matching processor patches.

parent fe0f6a48
No related branches found
No related tags found
No related merge requests found
...@@ -201,10 +201,34 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs) ...@@ -201,10 +201,34 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs)
boundaryMesh().mesh().time().path() boundaryMesh().mesh().time().path()
/name()+"_faces.obj" /name()+"_faces.obj"
); );
Pout<< "processorPolyPatch::order : Writing my " << size()
Pout<< "processorPolyPatch::calcGeometry : Writing my "
<< size()
<< " faces to OBJ file " << nm << endl; << " faces to OBJ file " << nm << endl;
writeOBJ(nm, *this, points()); writeOBJ(nm, *this, points());
OFstream ccStr
(
boundaryMesh().mesh().time().path()
/name() + "_faceCentresConnections.obj"
);
Pout<< "processorPolyPatch::calcGeometry :"
<< " Dumping cell centre lines between"
<< " corresponding face centres to OBJ file" << ccStr.name()
<< endl;
label vertI = 0;
forAll(faceCentres(), faceI)
{
const point& c0 = neighbFaceCentres_[faceI];
const point& c1 = faceCentres()[faceI];
writeOBJ(ccStr, c0, c1, vertI);
}
FatalErrorIn FatalErrorIn
( (
"processorPolyPatch::calcGeometry()" "processorPolyPatch::calcGeometry()"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment