← Back to team overview

yade-dev team mailing list archive

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