yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06241
[Question #202751]: Can not add ViscElMat in O.material
New question #202751 on Yade:
https://answers.launchpad.net/yade/+question/202751
I met a problem today earlier.
Running script ./test.py
Traceback (most recent call last):
File "./yade-1.0", line 175, in runScript
execfile(script,globals())
File "./test.py", line 34, in <module>
O.materials.append(ViscElMat(kn=1e7,ks=1e7,cn=39.5,cs=39.5,density=2530.0,frictionAngle=atan(0.4)),label='sphereMat')
ArgumentError: Python argument types in
MaterialContainer.append(MaterialContainer, ViscElMat)
did not match C++ signature:
append(pyMaterialContainer {lvalue}, std::vector<boost::shared_ptr<Material>, std::allocator<boost::shared_ptr<Material> > >)
append(pyMaterialContainer {lvalue}, boost::shared_ptr<Material>)
What is the problem? Does someone know it?
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.