Thanks Jerome, Fixed here (and a FIXME for the other version): https://github.com/yade/trunk/commit/228c365076879e7133deb66be80f38dadbc3f0d7 Bruno
On 23 July 2016 at 00:31, Jerome Duriez <[email protected]> wrote: > Hello, > > > Currently Law2_ScGeom_CapillaryPhys_Capillarity may erase some > interactions when the liquid volume vanishes, at the line 156 [1] > > However, subsequent operations on the interaction are still coded after > that, like storing the filling angle [2] > > > I've just faced segmentation fault because of that: the l. 164 in [2] > wants to access a physics data that does not exist anymore.. I'm surprised > I'm facing such situation only now but, anyway, do we agree there is > something to correct here ? (just moving the Delta lines up) > > > Jerome > > > PS: this also applies to Law2_ScGeom_CapillaryPhys_Capillarity1 [image: > 😉] > > > [1]: > https://github.com/yade/trunk/blob/master/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp#L156 > > [2]: > https://github.com/yade/trunk/blob/master/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.cpp#L164 > > > > > -------------------------------------------------- > > Jerome Duriez, Research Associate > > University of Calgary, Dpt of Civil Engineering > > +1 403 220 7367 > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

