mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
facets for 0D elements
This commit is contained in:
parent
95366beb54
commit
4309c1c656
@ -54,6 +54,10 @@ NGX_INLINE DLL_HEADER Ng_Element Ngx_Mesh :: GetElement<0> (size_t nr) const
|
||||
ret.faces.num = 0;
|
||||
ret.faces.ptr = NULL;
|
||||
|
||||
ret.facets.num = 1;
|
||||
ret.facets.base = 1;
|
||||
ret.facets.ptr = (int*)&el.pnum;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user