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

This commit is contained in:
mattijs
2017-08-10 18:41:22 +01:00
parent 6d8a09fd63
commit 59b70b04d5
5 changed files with 8 additions and 10 deletions

View File

@ -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
);

View File

@ -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
(

View File

@ -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

View File

@ -59,9 +59,8 @@ public:
// Constructors
//- Construct from IOobject
faceSet(const IOobject& obj);
explicit faceSet(const IOobject& obj);
//- Construct from objectRegistry and name
faceSet

View File

@ -60,9 +60,8 @@ public:
// Constructors
//- Construct from IOobject
pointSet(const IOobject& obj);
explicit pointSet(const IOobject& obj);
//- Construct from objectRegistry and name
pointSet