[gmx-users] codes for filetypes

David van der Spoel spoel at xray.bmc.uu.se
Thu Mar 20 17:59:10 CET 2003


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
> 
> regards
> --
> Christoph Freudenberger
> Abt. Organische Chemie I AK Siehl - Uni Ulm -Tel: ++49-731-502-2785
> 
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> 
-- 
Groeten, David.
________________________________________________________________________
Dr. David van der Spoel, 	Dept. of Cell & Mol. Biology
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-users mailing list