mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
only add edge elements if surface is a splinesurface (fixes tutorial
circle on cube)
This commit is contained in:
parent
63398c27cc
commit
bd55e8f7c0
@ -1186,7 +1186,7 @@ namespace netgen
|
||||
{
|
||||
auto othersolid = geometry.GetTopLevelObject(kk)->GetSolid();
|
||||
auto othersurf = geometry.GetTopLevelObject(kk)->GetSurface();
|
||||
if(!othersurf)
|
||||
if(!othersurf && dynamic_cast<SplineSurface*>(othersurf))
|
||||
{
|
||||
if(othersolid->IsIn(edgepoints[0]) &&
|
||||
othersolid->IsIn(edgepoints[edgepoints.Size()-1]))
|
||||
|
Loading…
Reference in New Issue
Block a user