Hello all !! I was playing around with template.c and stuck in a problem. In the program inside the do loop i.e;
/* This is the main loop over frames */ do { /* coordinates are available in the vector fr.x * you can find this and all other structures in * the types directory under the gromacs include dir. * Note how flags determines wheter to read x/v/f! */ printf ("%8.3f\n", fr.time); if (fr.time == (4000.000 + (50.0 * inc))) printf ("test"); { for (ra=0; ra<i;ra++) { } } inc ++; }while (read_next_frame(status,&fr)); The 1st printf statement do prints the frame time. While the 2nd printf inside the if loop doesnt print any thing, meaning that the if condition is not being satisfied. I want to execute the statements under if loop after each 50 ps time. Can some point out what wrong am I doing. Thanks -- Chandan kumar Choudhury NCL, Pune INDIA
-- gmx-users mailing list gmx-users@gromacs.org http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org. Can't post? Read http://www.gromacs.org/mailing_lists/users.php