← Back to team overview

yade-dev team mailing list archive

Law2_ScGeom_CapillaryPhys_Capillarity code workflow for erased interactions

 

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 [😉]


[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

PNG image


Follow ups