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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Thanks for updating the code

> Would it be possible to modify the source code ...

of course yes :-)
the right questions are who would do it, how long would it take, how difficult 
it would be ...

Currently, the Law2 is chosen merely by IGeom and IPhys, but in
principle, it could take / consider other parameters, like Shape,
groupMask or whatever.

E.g. you could have some new Law2_ScGeom_FrictPhys_furtherDispacth,
which would decide the specific behavior according to Shape (Law2::go
has Interaction argument, which has access to bodies and their shapes).

For **this specific case**, the easiest way, as I pointed, is to implement 
something like
Law2_GridCoGridCoGeom_MindlinPhys_asCundallStrack
such that for grid connections it internally calls another existing Law2 
(possibly just Law2_ScGeom_FrictPhys_CundallStrack) and for sphere-sphere you 
let the default Mindlin behavior..

cheers
Jan

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to