← Back to team overview

yade-users team mailing list archive

Re: [Question #693817]: The error about defining a CohFrictPhys bond between two different materials?

 

Question #693817 on Yade changed:
https://answers.launchpad.net/yade/+question/693817

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

MatchMaker(matches=((rockId,mortarId,6.0e6)))
is equivalent (notice the "useless" brackets) to
MatchMaker(matches=(rockId,mortarId,6.0e6))
which is invalid format for matches

change it to
MatchMaker(matches=[(rockId,mortarId,6.0e6)])
or
MatchMaker(matches=((rockId,mortarId,6.0e6),))
(notice the comma, making the brackets "tuple", not "useless")

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.