mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 04:40:34 +05:00
facet-base
This commit is contained in:
parent
0e1bebaa1d
commit
4ed519e819
@ -139,7 +139,7 @@ NGX_INLINE DLL_HEADER Ng_Element Ngx_Mesh :: GetElement<1> (size_t nr) const
|
||||
else
|
||||
{
|
||||
ret.facets.num = 2;
|
||||
ret.facets.base = 1;
|
||||
ret.facets.base = POINTINDEX_BASE;
|
||||
ret.facets.ptr = (int*)&(el[0]);
|
||||
}
|
||||
|
||||
@ -271,10 +271,10 @@ template <> NGX_INLINE DLL_HEADER int Ngx_Mesh :: GetNNodes<2> ()
|
||||
return mesh->GetTopology().GetNFaces();
|
||||
}
|
||||
|
||||
template <> NGX_INLINE DLL_HEADER const Ng_Node<0> Ngx_Mesh :: GetNode<0> (int vnr) const
|
||||
template <> NGX_INLINE DLL_HEADER const Ng_Node<0> Ngx_Mesh :: GetNode<0> (int vnr_) const
|
||||
{
|
||||
Ng_Node<0> node;
|
||||
vnr++;
|
||||
PointIndex vnr = IndexBASE<PointIndex>() + vnr_;
|
||||
switch (mesh->GetDimension())
|
||||
{
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user