Commit 59b70b04 authored by mattijs's avatar mattijs
Browse files

BUG: setSet: use of one-argument constructor. Fixes #566.

parent 6d8a09fd
......@@ -85,7 +85,7 @@ void writeVTK
vtk::writeFaceSet
(
mesh,
currentSet,
dynamicCast<const faceSet&>(currentSet),
mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY
);
......@@ -96,7 +96,7 @@ void writeVTK
vtk::writeCellSetFaces
(
mesh,
currentSet,
dynamicCast<const cellSet&>(currentSet),
mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY
);
......@@ -106,7 +106,7 @@ void writeVTK
vtk::writePointSet
(
mesh,
currentSet,
dynamicCast<const pointSet&>(currentSet),
mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY
);
......
......@@ -26,7 +26,7 @@ InNamespace
Description
Write faceSet to vtk polydata file.
The data are the original point ids.
The data are the mesh face ids.
SourceFiles
foamVtkWritePointSet.C
......@@ -49,7 +49,7 @@ class fileName;
namespace vtk
{
//- Write pointSet to vtk polydata file.
//- Write faceSet to vtk polydata file.
// Only one data which is original pointID.
void writeFaceSet
(
......
......@@ -65,7 +65,7 @@ public:
// Constructors
//- Construct from IOobject. No checking.
cellSet(const IOobject& obj);
explicit cellSet(const IOobject& obj);
//- Construct from polyMesh and name. Checks for valid cell ids.
cellSet
......
......@@ -59,9 +59,8 @@ public:
// Constructors
//- Construct from IOobject
faceSet(const IOobject& obj);
explicit faceSet(const IOobject& obj);
//- Construct from objectRegistry and name
faceSet
......
......@@ -60,9 +60,8 @@ public:
// Constructors
//- Construct from IOobject
pointSet(const IOobject& obj);
explicit pointSet(const IOobject& obj);
//- Construct from objectRegistry and name
pointSet
......
Markdown is supported
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