Hi,
I would like to write a reader for *.gro files, but I couldn't find any
information about how to map the atomname to the atomic number. Can
anyone shed some light on this problem? I would be most grateful.
The ff*nb.itp file contains already the atomic numbers of the atoms.
Probably not too easy to use directly.
These numbers are read in, and you could even think of writing a small
tool from the template source code that writes out atomnumber and
coordinates. After reading tpr file, atomnumber are stored in
t_mdatoms->atomicnumber (include/types/mdatom.h).
BEst,
Gerrit
Cheers,
Daniel
-----------------------
_______________________________________________
gmx-users mailing list gmx-users@gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php