mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +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)
|
if(auto & opt_name = geom.fprops[facenr-1]->name)
|
||||||
mesh.GetFaceDescriptor(facenr).SetBCName(&*opt_name);
|
mesh.GetFaceDescriptor(facenr).SetBCName(&*opt_name);
|
||||||
|
else
|
||||||
|
mesh.GetFaceDescriptor(facenr).SetBCName(new string("bc_"+ToString(facenr))); // mem-leak !
|
||||||
mesh.GetFaceDescriptor(facenr).SetBCProperty(facenr);
|
mesh.GetFaceDescriptor(facenr).SetBCProperty(facenr);
|
||||||
// ACHTUNG! STIMMT NICHT ALLGEMEIN (RG)
|
// ACHTUNG! STIMMT NICHT ALLGEMEIN (RG)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user