yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #01527
Re: Simulation model
Ok, works! Thank you!
But how can I add such parameters for spheres as velocity, density,
frictionAngle etc?
Best Regards / Mit freundlichen Grüßen / С наилучшими пожеланиями / З
найкращими побажаннями
Anton Gladkyy
2009/5/25 Anton Gladky <gladky.anton@xxxxxxxxx>
> Ok, thank you.
>
> Will check it today. Python is a new program language for me, so I just
> used examples to write new function.
>
>
> Best Regards / Mit freundlichen Grüßen / С наилучшими пожеланиями / З
> найкращими побажаннями
>
> Anton Gladkyy
>
>
> 2009/5/23 Václav Šmilauer <eudoxos@xxxxxxxx>
>
> > In attachment there is the diff-file. I'v added 1 function. Hope it
>> > will be useful.
>> > I would like also to ask to inspect the code. Is it suitable, or
>> > corrections are needed?
>> You write like a c-guy :-) I wrote it in a more python way (lists,
>> lists, tuples, etc), in particular using the numpy.arange function to
>> create list of values. Find it in r1774, utils.regularSphereOrthoPack
>> and scripts/test/regular-sphere-pack.py.
>> > How often do you usually commit the code?
>> Depends, not so often if I make bigger changes as to not break anything
>> for others; to make the commit a logical whole.
>>
>> HTH
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
Follow ups
References