yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12791
Law2_ScGeom_CapillaryPhys_Capillarity code workflow for erased interactions
-
To:
Yade dev <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Jerome Duriez <Jerome.Duriez@xxxxxxxxxxx>
-
Date:
Fri, 22 Jul 2016 22:31:01 +0000
-
Accept-language:
en-CA, en-US
-
Authentication-results:
spf=none (sender IP is ) smtp.mailfrom=Jerome.Duriez@xxxxxxxxxxx;
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
Thread-index:
AQHR5GgWBwSkDH+guEaa03hICXkdmQ==
-
Thread-topic:
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
Follow ups