Merge branch 'add_domainin_fnf_reader' into 'master'

add domainin property to fnf file reader

See merge request jschoeberl/netgen!165
This commit is contained in:
Joachim Schöberl 2019-05-20 17:37:03 +00:00
commit 4a28cd139c

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);