← Back to team overview

yade-users team mailing list archive

Re: [Question #700188]: How to set the value of cutoff in Utica.avgNumInteractions

 

Question #700188 on Yade changed:
https://answers.launchpad.net/yade/+question/700188

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> It is the AaBb wall

Just curious, why AaBb (with this upper/lower case)? It is abbreviation
of Axis Aligned Bounding Box, so AABB is more appropriate. Not important
at all, thought :-)

Not literally wall, but it is cutoff from AABB.

In these cases, the source code [1] might help.
Here, cutoff argument is passed to aabbExtrema [2,3].
If documentation of aabbExtrema [3] is not enough, we can dig deeper in the code. 

> How to set its value.

Like what value to choose?
Or where in the code to specify it?
Or...?
Please be more specific.
The value should be between 0 and 1, you can test yourself on a simple artificial example where you know the expected result.

If you feel the documentation should be improved, you can open an issue on Yade gitlab pages.
Alternatively, if you are interested, you can contribute yourself with the improved documentation :-)

Cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/py/utils.py#L483
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/py/utils.py#L502
[3] https://yade-dem.org/doc/yade.utils.html#yade._utils.aabbExtrema

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.