mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Automatically enable --useFullBoundary option when using marching cubes
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user