ENH: consolidate vtk classes into 'Foam::vtk' namespace

- elminate the foamVtkFormatter operator() in favour of xmlAttr.
  Improves readability and the purpose is clearer.
This commit is contained in:
Mark Olesen
2017-06-13 14:10:07 +02:00
parent edc1bd2230
commit cde12ad9e5
81 changed files with 1249 additions and 1408 deletions

View File

@ -115,20 +115,20 @@ bool Foam::functionObjects::writeVTK::write()
Info<< " Internal : " << outputName << endl;
foamVtkCells foamVtkMeshCells
vtk::vtuCells meshCells
(
mesh_,
foamVtkCells::contentType::LEGACY,
vtk::vtuCells::contentType::LEGACY,
true // decompose
);
// Write mesh
foamVtkOutput::internalWriter writer
vtk::internalWriter writer
(
mesh_,
foamVtkMeshCells,
meshCells,
outputName,
foamVtkOutput::formatType::LEGACY_ASCII
vtk::formatType::LEGACY_ASCII
);