Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix index, set velocity for first slider - slidergrid - grid of elastic slider…
git clone git://src.adamsgaard.dk/slidergrid
Log
Files
Refs
README
LICENSE
---
commit 651d6ad14183acc05109edf9fb4569dda244cde1
parent 13fd2f5473280a782faf7f4c94dd56a0ff2a7d41
Author: Anders Damsgaard <[email protected]>
Date: Tue, 22 Mar 2016 14:59:10 -0700
fix index, set velocity for first slider
Diffstat:
M test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test.c b/test.c
t@@ -33,7 +33,7 @@ simulation setup_simulation()
sim.sliders[i].bond_parallel_stiffness = 1.0e5;
}
- sim.sliders[i].vel.x = 1.0;
+ sim.sliders[0].vel.x = 1.0;
// set temporal parameters
sim.time = 0.0;
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.