Automatically enable --useFullBoundary option when using marching cubes

This commit is contained in:
Oliver Ruebel 2020-11-18 01:10:13 -08:00 committed by Gunther H. Weber
parent f536b825e4
commit c18f5bb5f7

@ -209,11 +209,11 @@ int main(int argc, char* argv[])
useMarchingCubes = true;
if (useBoundaryExtremaOnly)
{
std::cerr
<< "Error: Marching cubes connectivity currently only works when using full boundary"
<< std::endl;
MPI_Finalize();
return EXIT_FAILURE;
VTKM_LOG_S(vtkm::cont::LogLevel::Warn,
"Warning: Marching cubes connectivity currently only works when "
"using full boundary. Enabling the --useFullBoundary option "
"to ensure that the app works.");
useBoundaryExtremaOnly = false;
}
}
bool preSplitFiles = false;