yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12936
FlowEngine.ipp.in: return values of volumeCell*()
-
To:
Yade dev <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Jerome Duriez <Jerome.Duriez@xxxxxxxxxxx>
-
Date:
Fri, 25 Nov 2016 17:46:56 +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:
AQHSR0MX4weglXf3406pk5yDlgXUVg==
-
Thread-topic:
FlowEngine.ipp.in: return values of volumeCell*()
Hi,
In pkg/pfg/FlowEngine.ipp.in, why do volumeCell() return directly a "volume" value [1], whereas other volumeCell*Fictious() functions return the std::abs() of "volume" [2] ?
(I'm trying to play with this code, and I get a segmentation fault calling volumeCellSingleFictious() in [3], but not when calling volumeCell() in [4] )
Thank you,
Jerome
[1] https://github.com/yade/trunk/blob/master/pkg/pfv/FlowEngine.ipp.in#L591
[2] https://github.com/yade/trunk/blob/master/pkg/pfv/FlowEngine.ipp.in#L514
[3] https://github.com/yade/trunk/blob/master/pkg/pfv/FlowEngine.ipp.in#L413
[4] https://github.com/yade/trunk/blob/master/pkg/pfv/FlowEngine.ipp.in#L412
--------------------------------------------------
Jerome Duriez, Research Associate
University of Calgary, Dpt of Civil Engineering
+1 403 220 7367
Follow ups