Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK-m
Commits
3f8da6e7
Commit
3f8da6e7
authored
Sep 01, 2020
by
Kenneth Moreland
1
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:
void
TestContourWedges
()
const
{
std
::
cout
<<
"Testing Contour filter on wedge cells"
<<
std
::
endl
;
auto
pathname
=
vtkm
::
cont
::
testing
::
Testing
::
DataPath
(
"unstructured/wedge_cells.vtk"
);
vtkm
::
io
::
VTKDataSetReader
reader
(
pathname
);
vtkm
::
cont
::
DataSet
dataSet
=
reader
.
ReadDataSet
();
vtkm
::
cont
::
CellSet
Explicit
<>
cellSet
;
vtkm
::
cont
::
CellSet
SingleType
<>
cellSet
;
dataSet
.
GetCellSet
().
CopyTo
(
cellSet
);
vtkm
::
cont
::
ArrayHandle
<
vtkm
::
Float32
>
fieldArray
;
...
...
vtkm/io/VTKUnstructuredGridReader.cxx
View file @
3f8da6e7
...
...
@@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read()
vtkm
::
io
::
internal
::
FixupCellSet
(
connectivity
,
numIndices
,
shapes
,
permutation
);
this
->
SetCellsPermutation
(
permutation
);
//DRP
if
(
false
)
//vtkm::io::internal::IsSingleShape(shapes))
if
(
vtkm
::
io
::
internal
::
IsSingleShape
(
shapes
))
{
vtkm
::
cont
::
CellSetSingleType
<>
cellSet
;
cellSet
.
Fill
(
...
...
Kenneth Moreland
@kmorel
mentioned in commit
278ab6c5
·
Sep 02, 2020
mentioned in commit
278ab6c5
mentioned in commit 278ab6c5042e3a2832f583761da1f99666820caf
Toggle commit list
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