mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
fixing name for unnamed face (problem after restructuring facenames)
This commit is contained in:
parent
239cdf694f
commit
64e40a25e0
@ -413,6 +413,8 @@ namespace netgen
|
||||
|
||||
if(auto & opt_name = geom.fprops[facenr-1]->name)
|
||||
mesh.GetFaceDescriptor(facenr).SetBCName(&*opt_name);
|
||||
else
|
||||
mesh.GetFaceDescriptor(facenr).SetBCName(new string("bc_"+ToString(facenr))); // mem-leak !
|
||||
mesh.GetFaceDescriptor(facenr).SetBCProperty(facenr);
|
||||
// ACHTUNG! STIMMT NICHT ALLGEMEIN (RG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user