facets for 0D elements

This commit is contained in:
Joachim Schöberl 2017-06-23 22:09:50 +02:00
parent 95366beb54
commit 4309c1c656

View File

@ -53,6 +53,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;
}