yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11298
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