mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user