mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Fix MeshVolume() for partially meshed meshes
This commit is contained in:
parent
4ab01fa269
commit
6bfcd4ca6c
@ -531,6 +531,7 @@ namespace netgen
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mesh.VolumeElements().DeleteAll();
|
||||||
for(auto & m_ : md)
|
for(auto & m_ : md)
|
||||||
{
|
{
|
||||||
auto first_new_pi = m_.pmap.Range().Next();
|
auto first_new_pi = m_.pmap.Range().Next();
|
||||||
|
Loading…
Reference in New Issue
Block a user