Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
fea0c8b4
Commit
fea0c8b4
authored
Oct 16, 2017
by
Kirill Terekhov
Browse files
Fix error priviously introduced into VTU reader
parent
13177d26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/IO/mesh_vtu_file.cpp
View file @
fea0c8b4
...
...
@@ -66,7 +66,7 @@ namespace INMOST
old_nodes
[
qq
++
]
=
*
it
;
}
if
(
grid_is_2d
&&
old_nodes
.
empty
()
)
SetDimensions
(
2
);
if
(
!
old_nodes
.
empty
())
{
...
...
@@ -178,6 +178,8 @@ namespace INMOST
}
if
(
grid_is_2d
==
2
)
grid_is_2d
=
1
;
}
if
(
verbosity
>
0
)
{
...
...
@@ -188,6 +190,8 @@ namespace INMOST
case
2
:
std
::
cout
<<
"Grid has undetermined dimension"
<<
std
::
endl
;
break
;
}
}
if
(
grid_is_2d
==
1
&&
old_nodes
.
empty
()
)
SetDimensions
(
2
);
bool
have_faces
=
false
;
//some elements go as faces
bool
have_edges
=
false
;
...
...
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