Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Yor1 posted a new comment: Hello Badugama, 'X1Y1Z1_1k.spheres' is file which contains the positions and radii of particles of the sample. You can constitute your sample and you name it '.spheres' for example and you modify X1Y1Z1_1k.spheres by '.spheres' in the script. Remark : you have to create your particles file in the same directory of your script. Best regards. Jabrane. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 badugama posted a new comment: Thanks Jerome, Thanks to your comment, I could avoid that error and some more errors like that. but now I am getting en error IOError: [Errno 2] No such file or directory: 'X1Y1Z1_1k.spheres' Can you tell me , where I should look at ?? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Status: Answered => Solved Yor1 confirmed that the question is solved: Dear Bruno and Anton, The origin of the problem is that the boxes are contituted many times in the recorder servoController(). So i moved the lines in which the boxes is contituted out of the recorder and i works. That solve my problem. Best regards. Jabrane. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Chareyre proposed the following answer: Bingo! :) On 21 June 2016 at 22:13, Anton Gladkywrote: > Question #295520 on Yade changed: > https://answers.launchpad.net/yade/+question/295520 > > Anton Gladky proposed the following answer: > You are adding bodies at each call of servoController()? > Could you please check the number of bodies during the > simulation? > > Anton > > > 2016-06-21 18:37 GMT+02:00 Yor1 : > > Question #295520 on Yade changed: > > https://answers.launchpad.net/yade/+question/295520 > > > > Yor1 posted a new comment: > > Hi Bruno, > > > > We have the indentation before "O" because this line is included > > in the recorder servoController(). > > > > Best regards. > > Jabrane. > > > > -- > > You received this question notification because your team yade-users is > > an answer contact for Yade. > > > > ___ > > Mailing list: https://launchpad.net/~yade-users > > Post to : yade-users@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~yade-users > > More help : https://help.launchpad.net/ListHelp > > -- > You received this question notification because your team yade-users is > an answer contact for Yade. > > ___ > Mailing list: https://launchpad.net/~yade-users > Post to : yade-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > > -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Anton Gladky proposed the following answer: You are adding bodies at each call of servoController()? Could you please check the number of bodies during the simulation? Anton 2016-06-21 18:37 GMT+02:00 Yor1: > Question #295520 on Yade changed: > https://answers.launchpad.net/yade/+question/295520 > > Yor1 posted a new comment: > Hi Bruno, > > We have the indentation before "O" because this line is included > in the recorder servoController(). > > Best regards. > Jabrane. > > -- > You received this question notification because your team yade-users is > an answer contact for Yade. > > ___ > Mailing list: https://launchpad.net/~yade-users > Post to : yade-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Yor1 posted a new comment: Hi Bruno, We have the indentation before "O" because this line is included in the recorder servoController(). Best regards. Jabrane. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #295520]: Exception occured: std::bad_alloc
Question #295520 on Yade changed: https://answers.launchpad.net/yade/+question/295520 Bruno Chareyre proposed the following answer: There should not be any memory cost for this function. Why is there an indentation before "O" in: ### add top box O.bodies.append(utils.box(center=(xinf-thickness+Rmean/10,3*(ysup/4)+2*Rmean,zsup/2) It could be a problem. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp