mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +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];
|
int fnr = fnums[j+1];
|
||||||
|
|
||||||
const Element & el = mesh.VolumeElement (elnr);
|
const Element & el = mesh.VolumeElement (elnr);
|
||||||
|
if(j == 0)
|
||||||
|
mesh.GetFaceDescriptor(nr).SetDomainIn(el.GetIndex());
|
||||||
Element2d el2d;
|
Element2d el2d;
|
||||||
el.GetFace (fnr, el2d);
|
el.GetFace (fnr, el2d);
|
||||||
el2d.SetIndex (nr);
|
el2d.SetIndex (nr);
|
||||||
|
Loading…
Reference in New Issue
Block a user