GLYLIB  0.3.0b
read_prep.h
Go to the documentation of this file.
00001 /** \file read_prep.h Header file for function read_prep that reads the 
00002 contents of a prep file into an existing molecule structure 
00003 
00004 begun on 20071120 by BLFoley
00005 
00006 These are loaded in the source
00007  - #include <mylib.h>  
00008  - #include <molecules.h>
00009  - #include <general.h>
00010 
00011 See also AMBER documentation for prep file entry information
00012 */
00013 
00014 #if !defined(GLYLIB_AMBER_PREP_HEADERS)
00015 #define GLYLIB_AMBER_PREP_HEADERS
00016 
00017 typedef struct{
00018         char *FN; // file name from which this set of preps originated
00019         char *NAMDBF; // name of database to which this set belongs
00020         int IDBGEN , IREST , ITYPF; // Amber flags from top of file
00021 } ambermprepinfo;
00022 typedef struct{
00023         char *TITLE; // description of residue from prep file
00024         char *NAMF; // NAMF from residue
00025         char *NAMRES; // name of the residue from the prep file
00026         char *INTX; // coordinates are internal "INT" or xyz "XYZ"
00027         int  KFORM; // KFORM from amber file
00028         char *IFIXC; // geometry format
00029         char *IOMIT; // flag for dummy atom omission
00030         char *ISYMDU; // symbol used for dummy atoms
00031         char *IPOS; // flag for which dummy atoms to delete
00032         double CUT; // cutoff for assuming atoms are bonded
00033         int nIOPR; // number of IOPR cards for this residue
00034         llcharset *IOPR; // content of those cards ("DONE" is not included)
00035 } amberrprepinfo;
00036 typedef struct{
00037         int I;
00038         char *IGRAPH;
00039         char *ISYMBL;
00040         char *ITREE;
00041         int NA;
00042         int NB;
00043         int NC;
00044         double R;
00045         double THETA;
00046         double PHI;
00047         double CHG;
00048 } amberaprepinfo;
00049 
00050 
00051 void read_prep(molecule *M, fileset F, types *TYP);
00052 residue read_prepres(fileset F, types *TYP);
00053 atom read_prepatom(const char *line, types *TYP);
00054 
00055 #endif
 All Classes Files Functions Variables Typedefs Defines