Skip to content
Snippets Groups Projects
Commit 13346ec5 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

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

parent 16649b37
Branches
Tags
No related merge requests found
......@@ -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_);
......
......@@ -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_);
......
......@@ -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());
......
......@@ -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());
......
......@@ -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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment