← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2830: - use same ordering convention for boundaries in triax and in aabbBoxes.

 

Yes, sure. I just said that there is an argument called
"extrema"
in aabb and that this argument can generally be avoided (which is what I was
doing it) if packing is generated first. To follow your suggestions,
"extrema" should always be specified, if one wants to append boxes first
than spheres. I think that a note on this would be nice.

Chiara


On 17 May 2011 13:07, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:

>  No extra arguments needed in aabb, the ids are to be defined in triaxial
> engines.
> In triax-basic.py, it reads:
>
> triax=TriaxialCompressionEngine(
>
>     wall_bottom_id=wallIds[2],
>     wall_top_id=wallIds[3],
>     wall_left_id=wallIds[0],
>     wall_right_id=wallIds[1],
>     wall_back_id=wallIds[4],
>     wall_front_id=wallIds[5],
>
> After 2830, you can skip those lines if you generate boxes first.
>
> Bruno
>
>
>
>
> On 17/05/11 15:00, Chiara Modenese wrote:
>
> I was not specifying extrema argument in aabbWalls function. Those were
> generally calculated automatically, given a certain packing (generated
> first). Otherwise, I have just seen that it works.
>
> Thanks, Chiara
>
> On 17 May 2011 12:20, Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx> wrote:
>
>>
>> > does this work to you? You say in this commit that: ...(default value
>> > is ok if aabbWalls are appended BEFORE spheres.)
>> > but utils.aabbWalls needs the packing first. Hence it should not be
>> > possible to append aabbWalls before spheres. Do you agree?
>> >
>>  We found no problem, does it change something on your side?
>> aabbWalls doesn't need the packing first. If you are generating the
>> packing first, then you can define non-default value of ids accordingly.
>> The commit didn't change anything on this aspect (the previous default
>> values were zeros, it would not work be it with aabb before or after the
>> packing).
>>
>> Bruno
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> _______________
> Bruno Chareyre
> Associate Professor
> ENSE³ - Grenoble INP
> Lab. 3SR
> BP 53 - 38041, Grenoble cedex 9 - France
> Tél : +33 4 56 52 86 21
> Fax : +33 4 76 82 70 43
> ________________
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References