Re: [Yade-users] [Question #683981]: What does 'rMean=-1' mean

2019-10-07 Thread Robert Caulk
Question #683981 on Yade changed:
https://answers.launchpad.net/yade/+question/683981

Robert Caulk posted a new comment:
>But what is the algorithm it directs by -1 actually?

I don't understand the question. It directs the makecloud algorithm [1]
to which of the four methods it should use for sphere radius
distribution.

[1] https://gitlab.com/yade-
dev/trunk/blob/master/pkg/dem/SpherePack.cpp#L106

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #683981]: What does 'rMean=-1' mean

2019-10-07 Thread Rong Zhao
Question #683981 on Yade changed:
https://answers.launchpad.net/yade/+question/683981

Rong Zhao posted a new comment:
Hi, Robert Caulk. You said that '-1' is essentially a flag to direct the
algorithm toward one of the four described methods of sphere radius
distribution specification. But what is the algorithm it directs by -1
actually?

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #683981]: What does 'rMean=-1' mean

2019-09-17 Thread Leonard
Question #683981 on Yade changed:
https://answers.launchpad.net/yade/+question/683981

Status: Answered => Solved

Leonard confirmed that the question is solved:
Thanks Robert Caulk, that solved my question.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #683981]: What does 'rMean=-1' mean

2019-09-17 Thread Robert Caulk
Question #683981 on Yade changed:
https://answers.launchpad.net/yade/+question/683981

Status: Open => Answered

Robert Caulk proposed the following answer:
It is the default value passed to the function in the case that the user
does not provide it. In this case '-1' is essentially a flag to direct
the algorithm toward one of the four described methods of sphere radius
distribution specification.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #683981]: What does 'rMean=-1' mean

2019-09-17 Thread Leonard
New question #683981 on Yade:
https://answers.launchpad.net/yade/+question/683981

Hi,
I'd like to ask a stupid question about the meaning of ' someValue = -1', for 
example, in makeCloud [1],  what does 'rMean=-1' and 'num=-1' mean? 

Thanks

Leonard

[1] 
https://yade-dev.gitlab.io/trunk/yade.pack.html?highlight=sp%20makecloud#yade._packSpheres.SpherePack.makeCloud

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp