yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17644
Re: [Question #670511]: Ambiguous dispatch : too much laws ?
Question #670511 on Yade changed:
https://answers.launchpad.net/yade/+question/670511
Status: Open => Answered
Bruno Chareyre proposed the following answer:
I just realize this:
[...
Ip2_FrictMat_FrictMat_FrictPhys(),
Ip2_FrictMat_FrictMat_LubricationPhys(eta=m_viscosity,eps=m_roughness,label="Phys_Lub"),
...]
Which means:
If b1 is frictMat and b2 is FrictMat then generate a FrictPhys AND If b1 is frictMat and b2 is FrictMat then generate a LubPhys.
You will have to decide, obviously. :)
You actually decide, by putting one first. Still there is logical error in this set of functors and it should not happen. Dispatching is order-independant only for consistent set of functors.
Bruno
--
You received this question notification because your team yade-users is
an answer contact for Yade.