[gmx-developers] How to utilize the index file in code? GROMACS 4.6.3
Mark Abraham
mark.j.abraham at gmail.com
Tue Nov 26 18:39:39 CET 2013
grompp accepts the index file and does all of the checking - mdrun just
gets a vector of 0 or 1 in the .tpr file according to which atom is in
which type of group. You should not need to get involved there, though,
because the .mdp options user1-grps and user2-grps are intended to suit
what your purpose sounds like. grep for User1 and cU1 to see how to get at
the resulting data structures.
Mark
On Tue, Nov 26, 2013 at 2:44 PM, Jheng Wei Li <lijhengwei at gmail.com> wrote:
> Hello, all
> I am passing an index file chopping atoms into several subgroups, and
> I want to utilize this information in minimize.c!
> How do I recall index information in minimize.c?
> Please give me some advice or which part of code should I take a look to
> mimic its format!
>
> JhengWei Li
> Institute of Atomic and Molecular Sciences,
> Academia Sinica, Taipei 106, Taiwan
>
> --
> Gromacs Developers mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developersor send a mail to
> gmx-developers-request at gromacs.org.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20131126/5c209c64/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list