GLYLIB  0.3.0b
amber_prmtop.h
Go to the documentation of this file.
00001 /** \file amber_prmtop.h Header file for functions that read amber prmtop 
00002  * files into the GLYLIB structures
00003 
00004 begun on 20080622 by BLFoley
00005  */
00006 
00007 #if !defined(GLYLIB_AMBER_PRMTOP_HEADER)
00008 #define GLYLIB_AMBER_PRMTOP_HEADER
00009 
00010 #include <mylib.h> 
00011 #include <general.h> 
00012 #include <molecules.h>
00013 #include <declarations.h>
00014 #include <AMBER/amber_prmtop_structs.h>
00015 
00016 void amber_prmtop_init(amber_prmtop *P);
00017 void read_amber_prmtop_asis(fileset F,amber_prmtop *P);
00018 assembly parse_amber_prmtop(amber_prmtop *P);
00019 void find_molecules_molbond_array(int nMB, molbond *MB, int NATOM, molindex *AT);
00020 assembly load_amber_prmtop(fileset F);
00021 void add_trajcrds_to_prmtop_assembly(
00022         fileset F, ///< The trajectory file containing the data *Must* be open
00023         assembly *A, ///< Assembly ("incoming") to which the crds should be added
00024         char ftype, ///< 'c' if coordinate ; 'v' if velocity ; 'r' if restart (might have both)
00025         int offset ///< read in the offset-th trajectory -- starts with zero=current
00026         );
00027 void deallocateAmberPrmtopSection(amber_prmtop_section *aps);
00028 void deallocateAmberPrmtop(amber_prmtop *ap);
00029 
00030 #endif
 All Classes Files Functions Variables Typedefs Defines