Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix format of long int - slidergrid - grid of elastic sliders on a frictional …
git clone git://src.adamsgaard.dk/slidergrid
Log
Files
Refs
README
LICENSE
---
commit 8767c0aedd2863ea48fb447851a62fa232a9a8f1
parent 04efc5912ba233ff656bd21008535f71bbaa7404
Author: Anders Damsgaard <[email protected]>
Date: Thu, 14 Apr 2016 15:32:00 -0700
fix format of long int
Diffstat:
M slidergrid/main.c | 2 +-
M slidergrid/slider.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/slidergrid/main.c b/slidergrid/main.c
t@@ -132,7 +132,7 @@ int main(int argc, char** argv)
defined(DEBUG_SLIDER_FORCE_COMPONENTS) ||\
defined(DEBUG_SLIDER_FORCE_TORQUE_AND_NEIGHBORS) ||\
defined(DEBUG_SLIDER_KINEMATICS)
- printf("\n---- ITERATION %d ----\n", sim.iteration);
+ printf("\n---- ITERATION %ld ----\n", sim.iteration);
#endif
/*for (i=0; i<sim.N; i++)
diff --git a/slidergrid/slider.c b/slidergrid/slider.c
t@@ -256,7 +256,7 @@ void bond_normal_deformation(slider* s1, const slider s2,
// total relative displacement in inter-slider distance
s1->neighbor_relative_tangential_velocity[idx_neighbor] = vel_t;
- /*
+ //*
printf("\t------\n"
"tan_disp0_u = %f %f %f\n"
"tan_disp0 = %f %f %f\n"
t@@ -279,7 +279,7 @@ void bond_normal_deformation(slider* s1, const slider s2,
vel_t.x,
vel_t.y,
vel_t.z);
- */
+ // */
}
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.