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
Development
OpenFOAM-plus
Commits
3691f8ab
Commit
3691f8ab
authored
Apr 11, 2019
by
mattijs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: gmsh: skip empty lines. See
#1155
.
Fix provided by Gavin Ridley.
parent
b9de83cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C
...cations/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C
+6
-0
No files found.
applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C
View file @
3691f8ab
...
...
@@ -822,6 +822,12 @@ int main(int argc, char *argv[])
{
string
line
;
inFile
.
getLine
(
line
);
if
(
line
.
empty
())
{
continue
;
}
IStringStream
lineStr
(
line
);
word
tag
(
lineStr
);
...
...
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