[gmx-users] print out the velocities and forces using template.c

Tsjerk Wassenaar tsjerkw at gmail.com
Fri Nov 28 10:41:25 CET 2008


Hi Qiang,

You'll have to check whether the frame contains velocities (fr.bV ==
TRUE) or forces (fr.bF == TRUE). Also make sure you set the flags
right to read velocities/forces. Check the source of g_traj or trjconv
for examples.

Cheers,

Tsjerk

On Fri, Nov 28, 2008 at 10:33 AM, Mark Abraham <Mark.Abraham at anu.edu.au> wrote:
> friendli wrote:
>>
>> Dear all users,
>>
>> A silly question:
>>
>> I want to print out the velocities and forces in the trajectories using
>> template.c.
>
> g_traj or gmxdump do that.
>
> Mark
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.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-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>



-- 
Tsjerk A. Wassenaar, Ph.D.
Junior UD (post-doc)
Biomolecular NMR, Bijvoet Center
Utrecht University
Padualaan 8
3584 CH Utrecht
The Netherlands
P: +31-30-2539931
F: +31-30-2537623



More information about the gromacs.org_gmx-users mailing list