Skip to content
Snippets Groups Projects
Commit 514aff79 authored by mattijs's avatar mattijs
Browse files

ENH: dump .obj file in case of mismatched processor patch.

parent 379eac4f
Branches
Tags
No related merge requests found
......@@ -206,6 +206,15 @@ void Foam::processorPolyPatch::calcGeometry(PstreamBuffers& pBufs)
}
else if (mag(magSf - nbrMagSf)/avSf > coupledPolyPatch::matchTol)
{
fileName nm
(
boundaryMesh().mesh().time().path()
/name()+"_faces.obj"
);
Pout<< "processorPolyPatch::order : Writing my " << size()
<< " faces to OBJ file " << nm << endl;
writeOBJ(nm, *this, points());
FatalErrorIn
(
"processorPolyPatch::calcGeometry()"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment