<div>Hi,</div>
<div>&nbsp;</div>
<div>I want to automate the process of getting the index groups in an analysis program I&#39;m working on.</div>
<div>This is justified because of the large number of groups I work with (more than 100).</div>
<div>&nbsp;</div>
<div>The&nbsp;program asks for user input (&quot;Select a group:&quot;)&nbsp;by the function:</div>
<div>&nbsp;</div>
<div>void get_index(t_atoms *atoms, char *fnm, int ngrps,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int isize[], atom_id *index[],char *grpnames[])<br>&nbsp;</div>
<div>which, I think, is defined in /src/gmxlib/index.c.</div>
<div>&nbsp;</div>
<div>Do you have any idea on how to solve this problem?</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Pedro.&nbsp;</div>