diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp index 1aaa26808a81a59220d34249c6d59803a7e6f595..2bcaa08aeedff7cb80cc3b0edd866e16ac6793a1 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp +++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp @@ -103,8 +103,7 @@ void NodeWiseMeshPartitioner::findNonGhostNodesInPartition( partition.number_of_non_ghost_base_nodes + extra_nodes.size(); } -void NodeWiseMeshPartitioner::findElementsInPartition( - std::size_t const part_id, const bool is_mixed_high_order_linear_elems) +void NodeWiseMeshPartitioner::findElementsInPartition(std::size_t const part_id) { auto& partition = _partitions[part_id]; std::vector<MeshLib::Element*> const& elements = _mesh->getElements(); @@ -193,7 +192,7 @@ void NodeWiseMeshPartitioner::processPartition(std::size_t const part_id, findNonGhostNodesInPartition(part_id, is_mixed_high_order_linear_elems, extra_nodes); - findElementsInPartition(part_id, is_mixed_high_order_linear_elems); + findElementsInPartition(part_id); findGhostNodesInPartition(part_id, is_mixed_high_order_linear_elems, extra_nodes); auto& partition = _partitions[part_id]; diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h index 5b5f8fbe0ba4197fb373f25e7823e295cc09824a..23023d5bf5bd129dfa684740ccc86d735000ac80 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h +++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h @@ -146,8 +146,7 @@ private: /// fills vector partition.regular_elements /// 2 find ghost elements belonging to the partition part_id /// fills vector partition.ghost_elements - void findElementsInPartition(std::size_t const part_id, - const bool is_mixed_high_order_linear_elems); + void findElementsInPartition(std::size_t const part_id); /// Prerequisite: the ghost elements has to be found (using /// findElementsInPartition).