mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
set material in tensorproduct mesh in 2d as well
This commit is contained in:
parent
d2cb67f681
commit
c3441344fb
@ -550,6 +550,10 @@ namespace netgen
|
|||||||
|
|
||||||
mesh -> AddSurfaceElement (el);
|
mesh -> AddSurfaceElement (el);
|
||||||
}
|
}
|
||||||
|
char* material;
|
||||||
|
geometry.GetMaterial(domnr, material);
|
||||||
|
if(material)
|
||||||
|
mesh->SetMaterial(domnr, material);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user