ENH: add external surface handling to meshedSurfRef (#2505)

- previously just handled surface components
- move/scale mesh points (copy)

STYLE: pass in dummy faces/points to writer

STYLE: use tensor is_identity()
This commit is contained in:
Mark Olesen
2022-06-03 16:18:49 +02:00
parent 264c09c365
commit cc47a37ed1
6 changed files with 125 additions and 84 deletions

View File

@ -629,12 +629,10 @@ void Foam::PDRobstacle::generateVtk
{
label pieceId = 0;
meshedSurf::emptySurface dummy;
vtk::surfaceWriter surfWriter
(
dummy.points(),
dummy.faces(),
pointField::null(),
faceList::null(),
// vtk::formatType::INLINE_ASCII,
(outputDir / "Obstacles"),
false // serial only