From: hackbard Date: Tue, 28 Nov 2006 13:34:08 +0000 (+0000) Subject: moldyn compiles now .... now go to example sic code! X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d888d2a17d4afa924939eb0d6528b2b73213d4f3;p=physik%2Fposic.git moldyn compiles now .... now go to example sic code! --- diff --git a/moldyn.c b/moldyn.c index 00a9ed9..509a45d 100644 --- 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; }