yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25883
Re: [Question #697783]: BoxFactory for creating spheres on periodic conditions
Question #697783 on Yade changed:
https://answers.launchpad.net/yade/+question/697783
Jérôme Duriez posted a new comment:
Hi,
To rephrase what your computer already told you:
- use of BoxFactory involves a hidden call to
InsertionSortCollider::probeBoundingVolume [*]
- that function does not support periodic boundaries [**]
=> you indeed need an alternative script, or to modify source code and
extend InsertionSortCollider::probeBoundingVolume to periodic boundaries
(which would improve Yade)
[*] https://gitlab.com/yade-dev/trunk/-/blob/a37d9fd2f20f102fd277ac6aaaf52df8fbeb18f0/pkg/dem/SpheresFactory.cpp#L151 current version
[**] https://gitlab.com/yade-dev/trunk/-/blob/a37d9fd2f20f102fd277ac6aaaf52df8fbeb18f0/pkg/common/InsertionSortCollider.cpp#L193
--
You received this question notification because your team yade-users is
an answer contact for Yade.