Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
dbbacfbe
Commit
dbbacfbe
authored
Dec 21, 2010
by
graham
Browse files
ENH: Don't write badFaces when there are none.
parent
255b9c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/surface/surfaceCheck/surfaceCheck.C
View file @
dbbacfbe
...
...
@@ -396,13 +396,17 @@ int main(int argc, char *argv[])
problemFaces
.
append
(
faceI
);
}
}
OFstream
str
(
"badFaces"
);
Info
<<
"Dumping bad quality faces to "
<<
str
.
name
()
<<
endl
<<
"Paste this into the input for surfaceSubset"
<<
nl
<<
nl
<<
endl
;
if
(
!
problemFaces
.
empty
())
{
OFstream
str
(
"badFaces"
);
Info
<<
"Dumping bad quality faces to "
<<
str
.
name
()
<<
endl
<<
"Paste this into the input for surfaceSubset"
<<
nl
<<
nl
<<
endl
;
str
<<
problemFaces
;
str
<<
problemFaces
;
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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