Re: [Yade-users] [Question #705760]: How to get the runtime or CPU time?

2023-03-08 Thread Karol Brzezinski
Question #705760 on Yade changed: https://answers.launchpad.net/yade/+question/705760 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi Danny, It may be a little bit of a workaround, but every periodic engine (e.g. PyRunner) stores the information about the time

[Yade-users] [Question #705760]: How to get the runtime or CPU time?

2023-03-08 Thread Danny (Dingeman) van der Haven
New question #705760 on Yade: https://answers.launchpad.net/yade/+question/705760 Hi all! I would like to time the running time of the simulation at various stages. With this I mean the CPU time or the actual real-world time it take to run the simulation. I have tried the instructions at

Re: [Yade-users] [Question #705005]: problem of erasing particle

2023-03-08 Thread Jérôme Duriez
Question #705005 on Yade changed: https://answers.launchpad.net/yade/+question/705005 Jérôme Duriez posted a new comment: As a suggestion, are you sure you need this ParID list ? Maybe you could do without, for instance with for b in O.bodies: x = b.state.pos if ...

Re: [Yade-users] [Question #705718]: Error in the calculation of polyhedral particles

2023-03-08 Thread Jérôme Duriez
Question #705718 on Yade changed: https://answers.launchpad.net/yade/+question/705718 Jérôme Duriez posted a new comment: As far as I'm concerned, I do not know any solution (downgrading CGAL could be attempted, though not a good idea for possible long-term perspectives, if any) -- You received

Re: [Yade-users] [Question #705744]: Divide numerical periodic microstructure box into smaller grided cubes or boxes

2023-03-08 Thread Mohamed EL SHAMIEH
Question #705744 on Yade changed: https://answers.launchpad.net/yade/+question/705744 Status: Needs information => Open Mohamed EL SHAMIEH gave more information on the question: Hello Jan, Thank you for your quick reply, My script used for generating my sample is as follows: for test in