← Back to team overview

yade-dev team mailing list archive

Re: : Add damping coefficient to material

 

Could you, please, attach a diff first?
Thanks

Anton



On Thu, Jan 19, 2012 at 1:03 PM, Klaus Thoeni <klaus.thoeni@xxxxxxxxx> wrote:
> Solved the problem by checking if it is a clump:
>
> Real getDampCoeff() { return (!&Body::isClump) ? material->damping : NaN; };
>
> However, I think we still have to sort out why clumps don't have a material!
>
> I will commit the code, it might be useful to have different non-viscous
> damping coefficients, or what do you think?
>
> Klaus


Follow ups

References