Skip to content
Snippets Groups Projects
Commit 59b70b04 authored by mattijs's avatar mattijs
Browse files

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

parent 6d8a09fd
Branches
Tags
No related merge requests found
...@@ -85,7 +85,7 @@ void writeVTK ...@@ -85,7 +85,7 @@ void writeVTK
vtk::writeFaceSet vtk::writeFaceSet
( (
mesh, mesh,
currentSet, dynamicCast<const faceSet&>(currentSet),
mesh.time().path()/vtkBaseName, mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY vtk::formatType::LEGACY_BINARY
); );
...@@ -96,7 +96,7 @@ void writeVTK ...@@ -96,7 +96,7 @@ void writeVTK
vtk::writeCellSetFaces vtk::writeCellSetFaces
( (
mesh, mesh,
currentSet, dynamicCast<const cellSet&>(currentSet),
mesh.time().path()/vtkBaseName, mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY vtk::formatType::LEGACY_BINARY
); );
...@@ -106,7 +106,7 @@ void writeVTK ...@@ -106,7 +106,7 @@ void writeVTK
vtk::writePointSet vtk::writePointSet
( (
mesh, mesh,
currentSet, dynamicCast<const pointSet&>(currentSet),
mesh.time().path()/vtkBaseName, mesh.time().path()/vtkBaseName,
vtk::formatType::LEGACY_BINARY vtk::formatType::LEGACY_BINARY
); );
......
...@@ -26,7 +26,7 @@ InNamespace ...@@ -26,7 +26,7 @@ InNamespace
Description Description
Write faceSet to vtk polydata file. Write faceSet to vtk polydata file.
The data are the original point ids. The data are the mesh face ids.
SourceFiles SourceFiles
foamVtkWritePointSet.C foamVtkWritePointSet.C
...@@ -49,7 +49,7 @@ class fileName; ...@@ -49,7 +49,7 @@ class fileName;
namespace vtk namespace vtk
{ {
//- Write pointSet to vtk polydata file. //- Write faceSet to vtk polydata file.
// Only one data which is original pointID. // Only one data which is original pointID.
void writeFaceSet void writeFaceSet
( (
......
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
// Constructors // Constructors
//- Construct from IOobject. No checking. //- Construct from IOobject. No checking.
cellSet(const IOobject& obj); explicit cellSet(const IOobject& obj);
//- Construct from polyMesh and name. Checks for valid cell ids. //- Construct from polyMesh and name. Checks for valid cell ids.
cellSet cellSet
......
...@@ -59,9 +59,8 @@ public: ...@@ -59,9 +59,8 @@ public:
// Constructors // Constructors
//- Construct from IOobject //- Construct from IOobject
faceSet(const IOobject& obj); explicit faceSet(const IOobject& obj);
//- Construct from objectRegistry and name //- Construct from objectRegistry and name
faceSet faceSet
......
...@@ -60,9 +60,8 @@ public: ...@@ -60,9 +60,8 @@ public:
// Constructors // Constructors
//- Construct from IOobject //- Construct from IOobject
pointSet(const IOobject& obj); explicit pointSet(const IOobject& obj);
//- Construct from objectRegistry and name //- Construct from objectRegistry and name
pointSet pointSet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment