]> hackdaworld.org Git - physik/posic.git/commitdiff
testing
authorhackbard <hackbard>
Thu, 30 Nov 2006 08:43:32 +0000 (08:43 +0000)
committerhackbard <hackbard>
Thu, 30 Nov 2006 08:43:32 +0000 (08:43 +0000)
moldyn.c
sic.c

index 515a27315bf8455c45a59d81eb278431b7d0f44c..de7bbbf2a99df465459ee11ac6993c0b6fea58e1 100644 (file)
--- a/moldyn.c
+++ b/moldyn.c
@@ -758,6 +758,7 @@ int potential_force_calc(t_moldyn *moldyn) {
        moldyn->energy=0.0;
 
        for(i=0;i<count;i++) {
+printf("BAR %d %d\n",i,count);
        
                /* reset force */
                v3_zero(&(atom[i].f));
diff --git a/sic.c b/sic.c
index 95adb8acbc964f987aa42626beb5960fc9953a25..649d1e9b149cefd4e1180ecc6a6fd5bdd2adf544 100644 (file)
--- a/sic.c
+++ b/sic.c
@@ -92,12 +92,12 @@ int main(int argc,char **argv) {
 
        /* create the simulation schedule */
        printf("[sic] adding schedule\n");
-       moldyn_add_schedule(&md,10000,1.0e-15);
+       moldyn_add_schedule(&md,100,1.0e-15);
 
        /* activate logging */
        printf("[sic] activate logging\n");
-       moldyn_set_log(&md,LOG_TOTAL_ENERGY,"saves/test-energy",100);
-       moldyn_set_log(&md,VISUAL_STEP,"saves/test-visual",100);
+       moldyn_set_log(&md,LOG_TOTAL_ENERGY,"saves/test-energy",1);
+       moldyn_set_log(&md,VISUAL_STEP,"saves/test-visual",1);
 
        /*
         * let's do the actual md algorithm now