]> hackdaworld.org Git - physik/posic.git/commitdiff
moldyn compiles now .... now go to example sic code!
authorhackbard <hackbard>
Tue, 28 Nov 2006 13:34:08 +0000 (13:34 +0000)
committerhackbard <hackbard>
Tue, 28 Nov 2006 13:34:08 +0000 (13:34 +0000)
moldyn.c

index 00a9ed9d48d1e24ada50149b06a02284a9b05a1b..509a45da344a3f374567d8a727638763e68ed392 100644 (file)
--- a/moldyn.c
+++ b/moldyn.c
@@ -590,11 +590,6 @@ int moldyn_integrate(t_moldyn *moldyn) {
        s=moldyn->swrite;
        v=moldyn->vwrite;
 
-       if(!(moldyn->lvstat&MOLDYN_LVSTAT_INITIALIZED)) {
-               printf("[moldyn] warning, lv system not initialized\n");
-               return -1;
-       }
-
        /* sqaure of some variables */
        moldyn->tau_square=moldyn->tau*moldyn->tau;
        moldyn->cutoff_square=moldyn->cutoff*moldyn->cutoff;
@@ -667,6 +662,8 @@ int moldyn_integrate(t_moldyn *moldyn) {
                if(schedule->hook)
                        schedule->hook(moldyn,schedule->hook_params);
 
+       }
+
        return 0;
 }