← Back to team overview

yade-dev team mailing list archive

Re: (Anecdotic ?) Changes in Law2_.._Capillarity : H-M / C-S

 

> >> if !hertzOn
> >>     contactPhysics = static_cast<CapillaryPhys*>(interaction->phys.get());
> >> else
> >>     contactPhysics = static_cast<MindlinCapillaryPhys*>(interaction->phys.get())
>
> How would you declare contactPhysics?
>
> B

With this slight change :

if !hertzOn
 CapillaryPhys* contactPhysics = static_cast<CapillaryPhys*>(interaction->phys.get());
else
 MindlinCapillaryPhys* contactPhysics = static_cast<MindlinCapillaryPhys*>(interaction->phys.get())

?



Follow ups

References