Fix MeshVolume() for partially meshed meshes

This commit is contained in:
Matthias Hochsteger 2023-04-21 12:53:05 +02:00
parent 4ab01fa269
commit 6bfcd4ca6c

View File

@ -531,6 +531,7 @@ namespace netgen
return;
}
mesh.VolumeElements().DeleteAll();
for(auto & m_ : md)
{
auto first_new_pi = m_.pmap.Range().Next();