Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix typo, thanks A Dinesh - simple_DEM - a simple 2D Discrete Element Method c…
git clone git://src.adamsgaard.dk/simple_DEM
Log
Files
Refs
LICENSE
---
commit 43cadd7458e7c197e0d23677754084b11679d157
parent 15e7e030d19d71c7f137b498f6c52fa1c4317d0e
Author: Anders Damsgaard Christensen <[email protected]>
Date: Sat, 20 Aug 2016 14:00:14 -0700
fix typo, thanks A Dinesh
Diffstat:
M grains.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/grains.c b/grains.c
t@@ -50,7 +50,7 @@ void interparticle_force(grain* g, int a, int b)
yt = xn;
/* Compute the velocity of the contact */
- double vx_ab = g[a].vx - g[b].vy;
+ double vx_ab = g[a].vx - g[b].vx;
double vy_ab = g[a].vy - g[b].vy;
vn = vx_ab*xn + vy_ab*yn;
vt = vx_ab*xt + vy_ab*yt - (g[a].R*g[a].angv + g[b].R*g[b].angv);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.