Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Daniel Perry
Nektar
Commits
6c2d0588
Commit
6c2d0588
authored
Jul 05, 2017
by
David Moxey
Browse files
Fix issue with uninitialised variable sometimes causing random BC entries
parent
f06db8fb
Changes
1
Show whitespace changes
Inline
Side-by-side
utilities/NekMesh/InputModules/InputNek5000.cpp
View file @
6c2d0588
...
...
@@ -465,6 +465,13 @@ void InputNek5000::Process()
s
.
str
(
line
.
substr
(
0
,
4
));
s
>>
bcType
;
// Some lines have no boundary condition entries
if
(
s
.
fail
())
{
lineCnt
++
;
continue
;
}
if
(
nElements
<
1000
)
{
// elmt in chars 4-6, side in next 3
...
...
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