← Back to team overview

yade-dev team mailing list archive

[yade/trunk] ca3dfb: Do not ignore k* and c* parameters if mass==0

 

  Branch: refs/heads/master
  Home:   https://github.com/yade/trunk
  Commit: ca3dfbe9644c14ee6795e100ababc1f15a500fc3
      https://github.com/yade/trunk/commit/ca3dfbe9644c14ee6795e100ababc1f15a500fc3
  Author: Anton Gladky <gladky.anton@xxxxxxxxx>
  Date:   2014-02-07 (Fri, 07 Feb 2014)

  Changed paths:
    M pkg/dem/ViscoelasticPM.cpp

  Log Message:
  -----------
  Do not ignore k* and c* parameters if mass==0

Visco-Elastic model ignored strength and damping parameter,
if the mass body is zero. It happens during facet-sphere
interaction, so the facets mat is ignored (k* and c* multiplied
by 0).

This commit sets temporarly the mass of zero-mass body equal
to the mass of another body.

Thanks to Medack for pointing that out and discussion.