mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-24 10:32:03 +05:00
0 dim elements are not curved
This commit is contained in:
parent
60c1151205
commit
42294117bd
@ -78,7 +78,8 @@ NGX_INLINE DLL_HEADER Ng_Element Ngx_Mesh :: GetElement<0> (size_t nr) const
|
|||||||
ret.mat = *(mesh->GetCD2NamePtr(el.index-1));
|
ret.mat = *(mesh->GetCD2NamePtr(el.index-1));
|
||||||
else
|
else
|
||||||
ret.mat = *(mesh->GetCD3NamePtr(el.index-1));
|
ret.mat = *(mesh->GetCD3NamePtr(el.index-1));
|
||||||
|
|
||||||
|
ret.is_curved = false;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user