Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nickolas Davis
VTK-m
Commits
3f8da6e7
Commit
3f8da6e7
authored
Sep 01, 2020
by
Kenneth Moreland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some debugging code that should not have been there
parent
52cecefb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
vtkm/filter/testing/UnitTestContourFilter.cxx
vtkm/filter/testing/UnitTestContourFilter.cxx
+3
-1
vtkm/io/VTKUnstructuredGridReader.cxx
vtkm/io/VTKUnstructuredGridReader.cxx
+1
-2
No files found.
vtkm/filter/testing/UnitTestContourFilter.cxx
View file @
3f8da6e7
...
@@ -140,12 +140,14 @@ public:
...
@@ -140,12 +140,14 @@ public:
void
TestContourWedges
()
const
void
TestContourWedges
()
const
{
{
std
::
cout
<<
"Testing Contour filter on wedge cells"
<<
std
::
endl
;
auto
pathname
=
vtkm
::
cont
::
testing
::
Testing
::
DataPath
(
"unstructured/wedge_cells.vtk"
);
auto
pathname
=
vtkm
::
cont
::
testing
::
Testing
::
DataPath
(
"unstructured/wedge_cells.vtk"
);
vtkm
::
io
::
VTKDataSetReader
reader
(
pathname
);
vtkm
::
io
::
VTKDataSetReader
reader
(
pathname
);
vtkm
::
cont
::
DataSet
dataSet
=
reader
.
ReadDataSet
();
vtkm
::
cont
::
DataSet
dataSet
=
reader
.
ReadDataSet
();
vtkm
::
cont
::
CellSet
Explicit
<>
cellSet
;
vtkm
::
cont
::
CellSet
SingleType
<>
cellSet
;
dataSet
.
GetCellSet
().
CopyTo
(
cellSet
);
dataSet
.
GetCellSet
().
CopyTo
(
cellSet
);
vtkm
::
cont
::
ArrayHandle
<
vtkm
::
Float32
>
fieldArray
;
vtkm
::
cont
::
ArrayHandle
<
vtkm
::
Float32
>
fieldArray
;
...
...
vtkm/io/VTKUnstructuredGridReader.cxx
View file @
3f8da6e7
...
@@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read()
...
@@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read()
vtkm
::
io
::
internal
::
FixupCellSet
(
connectivity
,
numIndices
,
shapes
,
permutation
);
vtkm
::
io
::
internal
::
FixupCellSet
(
connectivity
,
numIndices
,
shapes
,
permutation
);
this
->
SetCellsPermutation
(
permutation
);
this
->
SetCellsPermutation
(
permutation
);
//DRP
if
(
vtkm
::
io
::
internal
::
IsSingleShape
(
shapes
))
if
(
false
)
//vtkm::io::internal::IsSingleShape(shapes))
{
{
vtkm
::
cont
::
CellSetSingleType
<>
cellSet
;
vtkm
::
cont
::
CellSetSingleType
<>
cellSet
;
cellSet
.
Fill
(
cellSet
.
Fill
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment