Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
4ac2e5bc
Commit
4ac2e5bc
authored
Dec 16, 2020
by
Praetorius, Simon
Browse files
Fix assert with point data reader
parent
fbd7ea90
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/vtk/vtkreader.hh
View file @
4ac2e5bc
...
...
@@ -126,7 +126,7 @@ namespace Dune
auto
point_it
=
pointData_
.
find
(
"PointData."
+
name
);
VTK_ASSERT_MSG
(
data_it
!=
dataArray_
.
end
()
&&
point_it
!=
pointData_
.
end
(),
"The data to extract is not found in point-data. Try `getCellData()` instead!"
);
VTK_ASSERT
(
data_it
->
second
.
section
==
CELL
_DATA
);
VTK_ASSERT
(
data_it
->
second
.
section
==
POINT
_DATA
);
return
{
*
creator_
,
point_it
->
second
,
data_it
->
second
.
components
,
vec_types
,
vec_offsets
,
vec_connectivity
};
...
...
Write
Preview
Supports
Markdown
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