mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect xml format tag for VTK surface mesh writer (closes #611)
This commit is contained in:
@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user