← Back to team overview

yade-users team mailing list archive

Re: [Question #251218]: Modifying the Cohesive Frictional Contact Law

 

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

    Status: Answered => Open

behzad is still having a problem:
Hi,

So, just to wrap up I ask the last question. 
How do you inherit a new class from a parent class without duplicating the parameters. Let's say we want the new class to have only one new parameter. How do we do this? If I learn this I can apply it to all changes I need to make for material, Phys, Law and etc. I appreciate if you can show this with an example like CohBurgersPhys and CohFrictPhys. Let's say CohBurgersPhys will have only one new parameter or properties. 

Thank you

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.