Skip to content

Commit

Permalink
moving sphere constraint strength time step independent
Browse files Browse the repository at this point in the history
  • Loading branch information
ryichando committed Feb 10, 2025
1 parent 4155fa0 commit 2dc8c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/contact/contact.cu
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ __device__ unsigned embed_vertex_constraint_force_hessian(
if (bowl) {
reverse = true;
}
float stiff_k = mass / (dt * dt);
float stiff_k = mass / (ghat * ghat);
float r2 = radius * radius;
if (reverse == true && d2 > r2) {
f +=
Expand Down

0 comments on commit 2dc8c39

Please sign in to comment.