yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11293
Re: (Anecdotic ?) Changes in Law2_.._Capillarity : H-M / C-S
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
Follow ups
References