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

View File

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