<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 22, 2010, at 4:14 PM, Chih-Ying Lin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div>Hi</div><div>Sorry, I ask the same question again because i am not a decent person in this field.</div><div>If possible, someone can give me a quick answer while i am trying to get understanding the source codes.</div>
<div>My basic understanding is that Gromacs has other approach of calculating dipole moment instead of the following equation.</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">dipole moment = 48.0 sum of q_i x_i<br>
x_i is the atomic position.</span></div></blockquote>Gromacs does not have another approach. It exactly calculates the above</div><div>equation. Take a look at the function "mol_dip( )" in gmx_dipoles.c. There,</div><div>the dipole moment is calculated for a single molecule. A&nbsp;molecule is a group&nbsp;</div><div>of atoms connected by chemical bonds. g_dipoles will only consider the</div><div>molecules of the group you are prompted to provide. If you for example</div><div>choose 'solvent' then you will get the sum of all the individual dipole</div><div>moments of the water molecules in your system.&nbsp;</div><div><br></div><div>Carsten<br><blockquote type="cite"><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">When I issued the command g_dipole,<br>
the dialog poped out and asked me to select a group.<br><br>1. system<br>2. protein<br>....<br>.....<br>....<br>11. solvent<br>12. the rest of the salt-molecule except its counter ion<br>13. counter ions (CL-)<br><br><br>
If I select #12, Gromacs will not consider counter ions to calculate the<br>dipole moment ???</span></div><div><br></div><div><br></div><div>Sorry for disturbing people in the Gromacs mailing list.</div><div>Thank you</div>
<div>Lin</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">On 2010-10-22 00.49, Chih-Ying Lin wrote:<br>&gt; Hi<br>
&gt; When I issued the command g_dipole,<br>&gt; the dialog poped out and asked me to select a group.<br>&gt; 1. system<br>&gt; 2. protein<br>&gt; ....<br>&gt; .....<br>&gt; ....<br>&gt; 11. solvent<br>&gt; 12. the rest of the salt-molecule except its counter ion<br>
&gt; 13. counter ions (CL-)<br>&gt; If I select #12, Gromacs will not consider counter ions to calculate the<br>&gt; dipole moment ???<br>&gt; Thank you<br>&gt; Lin<br>&gt;<br>you should try to understand what is going on yourself rather than<br>
sending many email to the mailing list. Please read the source code of<br>the program.<br><br>--</span></div>
-- <br>gmx-users mailing list &nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>Please don't post (un)subscribe requests to the list. Use the <br>www interface or send it to gmx-users-request@gromacs.org.<br>Can't post? Read http://www.gromacs.org/Support/Mailing_Lists</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div></div></span></span>
</div>
<br></body></html>