On 7/7/12 12:15 AM, Raj wrote:
Thanks for ur suggestion Justin,

I'm facing trouble in setting that vector, actually I cant figure out how
can i set up a vector. Is there any easier way with which i can set up a
vector. Thanks


It can be set simply to the difference in the (x,y,z) coordinates of the COMs of the two groups. You can calculate the COM position of each group with g_traj -ox -com -x -y -z.

Alternatively, if you use "pull_geometry = distance" and set "pull_dim = Y Y Y" then the pulling direction is the vector between the two groups in all dimensions.

-Justin

--
========================================

Justin A. Lemkul, Ph.D.
Research Scientist
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================


--
gmx-users mailing list    gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Only plain text messages are allowed!
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/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/Support/Mailing_Lists

Reply via email to