Commit dfb6578c authored by Max Lyon's avatar Max Lyon
Browse files

add warning if total parametric volume is less then 1

parent e9f650e4
Pipeline #18215 passed with stage
in 8 minutes and 24 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment