]> hackdaworld.org Git - physik/posic.git/commitdiff
compiler probs ?!? bc check ... (working with gcc-3.4)
authorhackbard <hackbard>
Mon, 11 Dec 2006 16:07:58 +0000 (16:07 +0000)
committerhackbard <hackbard>
Mon, 11 Dec 2006 16:07:58 +0000 (16:07 +0000)
Makefile
moldyn.c

index dabf04cba67516fdd9171a4bac5b3866bad89e27..742a7a51d003413bf91f480402f988e8fc5958ec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=gcc
+CC=gcc-3.4
 CFLAGS=-Wall -O3 #-DSIMPLE_TESTING
 LDFLAGS=-lm
 
index 4ddc42e98eb8bf1e6d2fa735ad4fd614de5f5f9b..8f6f2625b61feec5bb44ad6bcade796873055edf 100644 (file)
--- a/moldyn.c
+++ b/moldyn.c
@@ -781,15 +781,12 @@ int velocity_verlet(t_moldyn *moldyn) {
                v3_add(&(atom[i].r),&(atom[i].r),&delta);
                v3_scale(&delta,&(atom[i].f),0.5*tau_square/atom[i].mass);
                v3_add(&(atom[i].r),&(atom[i].r),&delta);
-//if(i==0) printf("und dann %.20f\n",atom[i].r.x*1e10);
                check_per_bound(moldyn,&(atom[i].r));
-//if(i==0) printf("und danach %.20f\n",atom[i].r.x);
 
                /* velocities */
                v3_scale(&delta,&(atom[i].f),0.5*tau/atom[i].mass);
                v3_add(&(atom[i].v),&(atom[i].v),&delta);
        }
-moldyn_bc_check(moldyn);
 
        /* neighbour list update */
        link_cell_update(moldyn);