mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: only use point/face/mesh references where needed in ensightPart*
- add points/faces constructor to ensightPartFaces with optional contiguousPoints flag. - Remove the now redundantensightPartNonMeshFaces class.
This commit is contained in:
@ -28,8 +28,7 @@ License
|
||||
#include "OFstream.H"
|
||||
#include "OSspecific.H"
|
||||
#include "IOmanip.H"
|
||||
#include "ensightGeoFile.H"
|
||||
#include "ensightPartNonMeshFaces.H"
|
||||
#include "ensightPartFaces.H"
|
||||
|
||||
#include "makeSurfaceWriterMethods.H"
|
||||
|
||||
@ -153,7 +152,7 @@ void Foam::ensightSurfaceWriter::writeTemplate
|
||||
<< timeValue << nl
|
||||
<< nl;
|
||||
|
||||
ensightPartNonMeshFaces ensPart(0, geomStr.name().name(), faces, points);
|
||||
ensightPartFaces ensPart(0, geomStr.name().name(), points, faces, true);
|
||||
geomStr << ensPart;
|
||||
|
||||
// Write field
|
||||
@ -252,7 +251,7 @@ void Foam::ensightSurfaceWriter::write
|
||||
<< timeValue << nl
|
||||
<< nl;
|
||||
|
||||
ensightPartNonMeshFaces ensPart(0, geomStr.name().name(), faces, points);
|
||||
ensightPartFaces ensPart(0, geomStr.name().name(), points, faces, true);
|
||||
geomStr << ensPart;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user