Re: [Yade-dev] Dynamic bodies and getSpheresVolume()

2016-05-26 Thread Jerome Duriez
:05 AM To: yade-dev@lists.launchpad.net Subject: Re: [Yade-dev] Dynamic bodies and getSpheresVolume() It makes sense indeed. The dynamic check was probably a loose evaluation of shape, now redundant. Bruno On 05/20/2016 11:30 PM, Jerome Duriez wrote: Hi, getSpheresVolume() currently skips all

Re: [Yade-dev] Dynamic bodies and getSpheresVolume()

2016-05-26 Thread Bruno Chareyre
It makes sense indeed. The dynamic check was probably a loose evaluation of shape, now redundant. Bruno On 05/20/2016 11:30 PM, Jerome Duriez wrote: Hi, getSpheresVolume() currently skips all dynamic bodies before even considering whether they are spheres or not [*]. I think it would you make

[Yade-dev] Dynamic bodies and getSpheresVolume()

2016-05-20 Thread Jerome Duriez
Hi, getSpheresVolume() currently skips all dynamic bodies before even considering whether they are spheres or not [*]. I think it would you make sense to just consider the shape, and to remove this "dynamic" condition. It would for instance allow to use consistently porosity() function for a fi