mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: dump debug interpolation files to processor-specific names
This commit is contained in:
@ -183,7 +183,10 @@ void Foam::pointToPointPlanarInterpolation::calcWeights
|
|||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
OBJstream str("destToSource.obj");
|
OBJstream str
|
||||||
|
(
|
||||||
|
"destToSource_" + Foam::name(UPstream::myProcNo()) + ".obj"
|
||||||
|
);
|
||||||
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
||||||
<< " Dumping lines from face centres to original points to "
|
<< " Dumping lines from face centres to original points to "
|
||||||
<< str.name() << endl;
|
<< str.name() << endl;
|
||||||
@ -232,15 +235,24 @@ void Foam::pointToPointPlanarInterpolation::calcWeights
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
fileName outName
|
||||||
<<" Dumping triangulated surface to triangulation.stl" << endl;
|
(
|
||||||
s.write("triangulation.stl");
|
"triangulation_" + Foam::name(UPstream::myProcNo()) + ".obj"
|
||||||
|
);
|
||||||
|
|
||||||
OBJstream str("localFaceCentres.obj");
|
|
||||||
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
||||||
<< " Dumping face centres to " << str.name() << endl;
|
<<" Dumping triangulated surface to " << outName << endl;
|
||||||
|
|
||||||
str.write(localFaceCentres);
|
s.write(outName);
|
||||||
|
|
||||||
|
OBJstream os
|
||||||
|
(
|
||||||
|
"localFaceCentres_" + Foam::name(UPstream::myProcNo()) + ".obj"
|
||||||
|
);
|
||||||
|
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
||||||
|
<< " Dumping face centres to " << os.name() << endl;
|
||||||
|
|
||||||
|
os.write(localFaceCentres);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine interpolation onto face centres.
|
// Determine interpolation onto face centres.
|
||||||
@ -261,7 +273,10 @@ void Foam::pointToPointPlanarInterpolation::calcWeights
|
|||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
OBJstream str("stencil.obj");
|
OBJstream str
|
||||||
|
(
|
||||||
|
"stencil_" + Foam::name(UPstream::myProcNo()) + ".obj"
|
||||||
|
);
|
||||||
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
Pout<< "pointToPointPlanarInterpolation::calcWeights :"
|
||||||
<< " Dumping stencil to " << str.name() << endl;
|
<< " Dumping stencil to " << str.name() << endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user