On 20/09/14 00:48, Jérome Duriez wrote: > If the cast towards CapillaryPhys or MindlinCapillaryPhys is executed > directly (with the lines I proposed) in the right way (thanks to hertzOn that > already exists), what role could have the difference in mother classes ?
>> if !hertzOn >> contactPhysics = static_cast<CapillaryPhys*>(interaction->phys.get()); >> else >> contactPhysics = >> static_cast<MindlinCapillaryPhys*>(interaction->phys.get()) How would you declare contactPhysics? B _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

