partmesh crashes when the mesh contains the data array OGS_VERSION as field data.
Description
partmesh crashes when accessing a map in line 394 in the copyPropertyVector function in the file 'Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp'. There it wants to copy the property vector with the name OGS_VERSION whose mesh item type is MeshLib::MeshItemType::IntegrationPoint (stored as field data in the vtu-file). There is no entry for this mesh item type in the total_number_of_tuples map.
Steps to Reproduce the Problem
- partmesh -m -n 48 -i SubsurfaceMesh -o 48 (SubsurfaceMesh.vtu contains OGS_VERSION as field data)
Expected behavior: Partition the mesh without crash.
Actual behavior: The tool crashes when it want to partition OGS_VERSION.
Specifications
- Version: partmesh version: 6.3.0-1060-g72f266876
- Platform: linux