Skip to content
Snippets Groups Projects
Commit 532adcb6 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[App] Partmesh; Remove metis files only if created

inside the partmesh tool. Keep them otherwise.
parent fd4af9c7
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,12 @@ int main(int argc, char* argv[]) ...@@ -174,7 +174,12 @@ int main(int argc, char* argv[])
readMetisData(input_file_name_wo_extension, num_partitions, readMetisData(input_file_name_wo_extension, num_partitions,
mesh_partitioner.mesh().getNumberOfNodes())); mesh_partitioner.mesh().getNumberOfNodes()));
removeMetisPartitioningFiles(input_file_name_wo_extension, num_partitions); // Remove metis partitioning files only if metis was run internally.
if (exe_metis_flag.getValue())
{
removeMetisPartitioningFiles(input_file_name_wo_extension,
num_partitions);
}
INFO("Partitioning the mesh in the node wise way ..."); INFO("Partitioning the mesh in the node wise way ...");
bool const is_mixed_high_order_linear_elems = lh_elems_flag.getValue(); bool const is_mixed_high_order_linear_elems = lh_elems_flag.getValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment