Skip to content
Snippets Groups Projects
Commit 6a696744 authored by mattijs's avatar mattijs
Browse files

ENH: surfaceFeatureExtract: handle -case correctly

parent 740c4fa8
Branches
Tags
No related merge requests found
...@@ -744,7 +744,7 @@ int main(int argc, char *argv[]) ...@@ -744,7 +744,7 @@ int main(int argc, char *argv[])
// Read // Read
// ~~~~ // ~~~~
triSurface surf("constant/triSurface/" + surfFileName); triSurface surf(runTime.constantPath()/"triSurface"/surfFileName);
Info<< "Statistics:" << endl; Info<< "Statistics:" << endl;
surf.writeStats(Info); surf.writeStats(Info);
...@@ -1338,7 +1338,7 @@ int main(int argc, char *argv[]) ...@@ -1338,7 +1338,7 @@ int main(int argc, char *argv[])
{ {
vtkSurfaceWriter().write vtkSurfaceWriter().write
( (
runTime.constant()/"triSurface", // outputDir runTime.constantPath()/"triSurface",// outputDir
sFeatFileName, // surfaceName sFeatFileName, // surfaceName
surf.points(), surf.points(),
faces, faces,
...@@ -1350,7 +1350,7 @@ int main(int argc, char *argv[]) ...@@ -1350,7 +1350,7 @@ int main(int argc, char *argv[])
vtkSurfaceWriter().write vtkSurfaceWriter().write
( (
runTime.constant()/"triSurface", // outputDir runTime.constantPath()/"triSurface",// outputDir
sFeatFileName, // surfaceName sFeatFileName, // surfaceName
surf.points(), surf.points(),
faces, faces,
...@@ -1403,7 +1403,7 @@ int main(int argc, char *argv[]) ...@@ -1403,7 +1403,7 @@ int main(int argc, char *argv[])
{ {
vtkSurfaceWriter().write vtkSurfaceWriter().write
( (
runTime.constant()/"triSurface", // outputDir runTime.constantPath()/"triSurface",// outputDir
sFeatFileName, // surfaceName sFeatFileName, // surfaceName
surf.points(), surf.points(),
faces, faces,
...@@ -1482,7 +1482,7 @@ int main(int argc, char *argv[]) ...@@ -1482,7 +1482,7 @@ int main(int argc, char *argv[])
{ {
vtkSurfaceWriter().write vtkSurfaceWriter().write
( (
runTime.constant()/"triSurface", // outputDir runTime.constantPath()/"triSurface",// outputDir
sFeatFileName, // surfaceName sFeatFileName, // surfaceName
surf.points(), surf.points(),
faces, faces,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment