add domainin property to fnf file reader

This commit is contained in:
Christopher Lackner 2019-05-20 18:03:57 +02:00
parent 7a385571c3
commit 9d97f4290a

View File

@ -335,6 +335,8 @@ namespace netgen
int fnr = fnums[j+1];
const Element & el = mesh.VolumeElement (elnr);
if(j == 0)
mesh.GetFaceDescriptor(nr).SetDomainIn(el.GetIndex());
Element2d el2d;
el.GetFace (fnr, el2d);
el2d.SetIndex (nr);