Question #251218 on Yade changed: https://answers.launchpad.net/yade/+question/251218
Status: Answered => Open behzad is still having a problem: Hi, here I'm deriving CohBurgersPhys from CohFrictPhys. Is this what you mean? : class Ip2_CohBurgersMat_CohBurgersMat_CohBurgersPhys : public CohFrictPhys { public : virtual void go( const shared_ptr<Material>& b1, const shared_ptr<Material>& b2, const shared_ptr<Interaction>& interaction); int cohesionDefinitionIteration; YADE_CLASS_BASE_DOC_ATTRS_CTOR(Ip2_CohBurgersMat_CohBurgersMat_CohBurgersPhys,IPhysFunctor, ((bool,setCohesionNow,false,,"If true, assign cohesion to all existing contacts in current time-step. The flag is turned false automatically, so that assignment is done in the current timestep only.")) ((bool,setCohesionOnNewContacts,true)) , cohesionDefinitionIteration = -1; ); FUNCTOR2D(CohBurgersMat,CohBurgersMat); }; REGISTER_SERIALIZABLE(Ip2_CohBurgersMat_CohBurgersMat_CohBurgersPhys); -- You received this question notification because you are a member of yade-users, which 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