[gmx-users] codes for filetypes

Anton Feenstra feenstra at chem.vu.nl
Thu Mar 20 12:05:52 CET 2003


David van der Spoel wrote:
> 
> On Thu, 2003-03-20 at 11:41, Christoph Freudenberger wrote:
> > hi there,
> >
> > the function fn2ftp(outfile) returns an integer for the type of outfile.
> > I'm not sure how this code of types is defined.
> >
> > would
> >     if(fn2ftp(outfile) == efGRO)
> > work as a test wether outfile is .gro?
> yes.
> 
> definitions in include/types/filenm.h I think

Correct. 
Further details (file extension e.g.) are defined in src/gmxlib/filenm.c


-- 
Groetjes,

Anton
 _____________ _______________________________________________________
|             |                                                       |
|  _   _  ___,| K. Anton Feenstra                                     |
| / \ / \'| | | Dept. of Pharmacochem. - Vrije Universiteit Amsterdam |
|(   |   )| | | De Boelelaan 1083 - 1081 HV Amsterdam - Netherlands   |
| \_/ \_/ | | | Room P275  Tel: +31 20 44 47608  Fax: +31 20 44 47610 |
|             | Feenstra at chem.vu.nl - www.chem.vu.nl/~feenstra/       |
|             | "You Can Always Go On Ricky Lake" (Offspring)         |
|_____________|_______________________________________________________|



More information about the gromacs.org_gmx-users mailing list