BUG: incorrect xml format tag for VTK surface mesh writer (closes #611)

This commit is contained in:
Mark Olesen
2017-10-06 11:36:40 +02:00
parent 16649b3772
commit 13346ec5b1
5 changed files with 5 additions and 5 deletions

View File

@ -245,7 +245,7 @@ Foam::vtk::patchWriter::patchWriter
nFaces_(0)
{
outputOptions opts(outOpts);
opts.append(false); // No append
opts.append(false); // No append supported
os_.open((baseName + (legacy_ ? ".vtk" : ".vtp")).c_str());
format_ = opts.newFormatter(os_);

View File

@ -193,7 +193,7 @@ Foam::vtk::surfaceMeshWriter::surfaceMeshWriter
os_()
{
outputOptions opts(outOpts);
opts.legacy(true); // No append supported
opts.append(false); // No append supported
os_.open((baseName + (legacy_ ? ".vtk" : ".vtp")).c_str());
format_ = opts.newFormatter(os_);

View File

@ -41,7 +41,7 @@ void Foam::vtk::writeCellSetFaces
)
{
outputOptions opts(outOpts);
opts.legacy(true); // Legacy only, no append
opts.legacy(true); // Legacy only, no xml, no append
const bool legacy_(opts.legacy());

View File

@ -41,7 +41,7 @@ void Foam::vtk::writeFaceSet
)
{
outputOptions opts(outOpts);
opts.legacy(true); // Legacy only, no append
opts.legacy(true); // Legacy only, no xml, no append
const bool legacy_(opts.legacy());

View File

@ -40,7 +40,7 @@ void Foam::vtk::writePointSet
)
{
outputOptions opts(outOpts);
opts.legacy(true); // Legacy only, no append
opts.legacy(true); // Legacy only, no xml, no append
const bool legacy_(opts.legacy());