yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15895
Re: [Question #658909]: Question about FEM and DEM coupling
Question #658909 on Yade changed:
https://answers.launchpad.net/yade/+question/658909
Kun Zeng posted a new comment:
Hi Jan, sorry for post so much questions here.
I thought i figure the facet problem by changing the code to:
yade.utils.facet((v1,v2,v3),**kw)
And I run my code it shows:
File "example1-yade.py", line 94, in <genexpr>
rects = movables + sum((rect(r) for r in rects),[])
NameError: global name 'rect' is not defined
And I add :
from yade.utils import facet
but it shows:
ImportError: cannot import name rect
What's the problem here? Thank you very much.
--
You received this question notification because your team yade-users is
an answer contact for Yade.