Skip to content

Commit

Permalink
remove the abs from JRK
Browse files Browse the repository at this point in the history
  • Loading branch information
acdaigneault committed Jul 31, 2024
1 parent 9f1ad69 commit ce0ad1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/dem/particle_particle_contact_force.h
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,9 @@ class ParticleParticleContactForce
particle_one_type, particle_two_type)] *
this->effective_radius;
const double modified_coulomb_threshold =
std::fabs((normal_force_coefficient + two_pull_off_force) *
this->effective_coefficient_of_friction[vec_particle_type_index(
particle_one_type, particle_two_type)]);
(normal_force_coefficient + two_pull_off_force) *
this->effective_coefficient_of_friction[vec_particle_type_index(
particle_one_type, particle_two_type)];

if (tangential_force.norm() > modified_coulomb_threshold)
{
Expand Down

0 comments on commit ce0ad1f

Please sign in to comment.