← Back to team overview

yade-dev team mailing list archive

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