ENH: use common internal calls for VTK begin/end DataArray

- reduces common boilerplate, ensures that label fields are
  more easily handled.
This commit is contained in:
Mark Olesen
2021-05-19 23:54:47 +02:00
parent 48c05e5441
commit aeb9644db4
11 changed files with 129 additions and 454 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2018-2019 OpenCFD Ltd.
Copyright (C) 2018-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -100,7 +100,6 @@ Foam::wordList Foam::functionObjects::vtkCloud::writeFields
{
// Non-legacy
format().flush();
format().endDataArray();
}
}