Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
HexEx
libHexEx
Commits
dfb6578c
Commit
dfb6578c
authored
Jan 27, 2021
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add warning if total parametric volume is less then 1
parent
e9f650e4
Pipeline
#17408
passed with stage
in 8 minutes and 8 seconds
Changes
1
Pipelines
12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/HexExtractor.cc
src/HexExtractor.cc
+7
-1
No files found.
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
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