yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13750
Re: [Question #404361]: using randomDensePack meets error
Question #404361 on Yade changed:
https://answers.launchpad.net/yade/+question/404361
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
pred1=pack.inAlignedBox((tux1,tuy1,tuz1),(tux2,tuy2,tuz2))
the problem is that tux1 > tux2 (same for y and z) and therefore the
dimensions of predicate are negative (see [1], 1st parameter is min, 2nd is
max). Making it opposite works ok (well, would work ok if there were not
>1e8 particles consuming all my RAM :-)
Cheers
Jan
[1] https://yade-dem.org/doc/yade.pack.html#yade._
packPredicates.inAlignedBox
--
You received this question notification because your team yade-users is
an answer contact for Yade.