1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-04-24 16:22:03 +05:00

set material in tensorproduct mesh in 2d as well

This commit is contained in:
Christopher Lackner 2020-06-23 18:52:29 +02:00
parent d2cb67f681
commit c3441344fb

@ -550,6 +550,10 @@ namespace netgen
mesh -> AddSurfaceElement (el);
}
char* material;
geometry.GetMaterial(domnr, material);
if(material)
mesh->SetMaterial(domnr, material);
}