[gmx-users] interaction lists in idef.h

Mark Abraham Mark.Abraham at anu.edu.au
Wed Sep 5 05:08:28 CEST 2007


wnoid at hec.utah.edu wrote:
> hello again.
> 
> 
> thank you very much to drs. Groenhof, Abraham, and van der Spoel.  i 
> greatly appreciate your time and help.  dr. Groenhof's email and the pdf 
> file that he linked were particularly helpful.  i would suggest that the 
> pdf file would be a great addition to the gromacs wiki.
> 
> 
> with your help, i now can access the lists of interacting pairs, 
> triples, etc. for each type of bonded interaction.  however, i am still 
> having difficulty accessing the lists for the nonbonded interactions.  
> as the comments in types/idef.h suggests, idef.il[F_LJ].nr=0, so the 
> lists of pairs of nonbonded interactions are not stored there.
> 
> 
> dr. van der Spoel mentioned that the nonbonded interactions are 
> organized as a matrix at the beginning of the idef.  i can see that the 
> first interaction types (and their corresponding sets of iparams and 
> functypes) correspond to these nonbonded interactions.  however, i do 
> not understand how to access the information that must be stored in this 
> interaction matrix.  (i don't quite understand where this interaction 
> matrix is in the idef structure either.  sometimes these c structures 
> are a little bewildering to me - fortran is my native programming 
> language.)  if someone could indicate how to access these lists of 
> nonbonded pairs that would be greatly appreciated.
> 
> 
> thanks again for your time and help.

Please capitalise normally. If you want people to give their time to 
help you, you should make it easy for them to do so. That means 
following conventions!

Mark



More information about the gromacs.org_gmx-users mailing list