Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-15 Thread 张文卿
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 张文卿 confirmed that the question is solved: Thanks Jérôme Duriez, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-15 Thread 张文卿
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 Status: Answered => Solved 张文卿 confirmed that the question is solved: Thanks,Bruno,Jan.I have understood where I was wrong. That helps a lot: ) -- You received this question notification because your

Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-14 Thread Bruno Chareyre
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 Bruno Chareyre proposed the following answer: There is at least one thing in the above code which is bizzare. This: for i in O.interactions: id1.append(i.id1); id2.append(i.id2) for k

Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-14 Thread Jan Stránský
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 Jan Stránský posted a new comment: Hello, to get a relevant answer, please read and follow [1], I think point 6 is very close to this question. Specifically: - please give more information on your problem.

Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-13 Thread Jérôme Duriez
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, I got somewhat confused in your question between the Python and the C++ parts, but it is clear your (Python ?) commands could be

[Yade-users] [Question #556997]: How to compute average contact radius

2017-03-13 Thread 张文卿
New question #556997 on Yade: https://answers.launchpad.net/yade/+question/556997 I want to get avgrage contact radius to my next simulation.I have write C++ file of phy to get contactradius for each contact.And I have achieved it via python.Here is my script: id1=[] id2=[] for i in