Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HexEx
libHexEx
Commits
dfb6578c
Commit
dfb6578c
authored
Jan 27, 2021
by
Max Lyon
Browse files
add warning if total parametric volume is less then 1
parent
e9f650e4
Pipeline
#22761
failed with stage
in 17 seconds
Changes
1
Pipelines
106
Hide whitespace changes
Inline
Side-by-side
src/HexExtractor.cc
View file @
dfb6578c
...
...
@@ -2870,7 +2870,13 @@ void HexExtractor::sanitizeParametrization(bool snapBoundary, bool extremeTrunca
computeCellTypes
();
HEXEX_DEBUG_ONLY
(
std
::
cout
<<
"Total parametric volume is "
<<
getTotalParametricVolume
()
<<
std
::
endl
;)
HEXEX_DEBUG_ONLY
(
auto
volume
=
getTotalParametricVolume
();
if
(
volume
<
1
)
std
::
cerr
<<
"Warning: Total parametric volume is "
<<
volume
<<
std
::
endl
;
else
std
::
cout
<<
"Total parametric volume is "
<<
volume
<<
std
::
endl
;
)
}
bool
HexExtractor
::
isInCell
(
CellHandle
ch
,
Parameter
param
)
...
...
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