mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
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:
commit
4a28cd139c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user