Indeed, my fault. I forgot to change some of the ElastMat to FrictMat in the declaration. Strange that there was no error during compiling. It's working fine now.
Thanks a lot Klaus On Tue, 1 Mar 2011 11:55:49 pm Bruno Chareyre wrote: > > Tried to inherit WireMat from FrictMat and using > > Ip2_FrictMat_FrictMat_FrictPhys() > > Law2_ScGeom_FrictPhys_CundallStrack() > > > > but got this: > > > > terminate called after throwing an instance of 'std::runtime_error' > > > > what(): Undefined or ambiguous IPhys dispatch for types FrictMat and > > > > WireMat. > > Aborted > > > > Any suggestions where the problem could be? > > Hard to guess just like that. Double-check that all types declarations > are correct in macros like YADE_BASE_... and FUNCTOR2D, make sure that > there is not a Frict_Wire and a Frict_Frict functor in the same > simulation (else it would be ambiguous), compile with debug symbols and > set the highest LOG level for dispatcher to get more details on the > failure. Others will have better ideas perhaps. > > Bruno > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp -- Dr. Klaus Thoeni - Centre for Geotechnical and Materials Modelling Civil, Surveying and Environmental Engineering - Engineering Building EA The University of Newcastle, Callaghan, NSW 2308, Australia web: http://www.newcastle.edu.au/research-centre/cgmm phone: +61 (0)2 4921 5118 _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp