Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

charmm_types.h

Go to the documentation of this file.
00001 // -*- mode: c++; -*-
00002 //
00003 //The Biomolecule Toolkit (BTK) is a C++ library for use in the
00004 //modeling, analysis, and design of biological macromolecules.
00005 //Copyright (C) 2004, Christopher Saunders <ctsa@users.sourceforge.net>
00006 //
00007 //This program is free software; you can redistribute it and/or modify
00008 //it under the terms of the GNU Lesser General Public License as published
00009 //by the Free Software Foundation; either version 2.1 of the License, or (at
00010 //your option) any later version.
00011 //
00012 //This program is distributed in the hope that it will be useful,  but
00013 //WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 //Lesser General Public License for more details. 
00016 //
00017 //You should have received a copy of the GNU Lesser General Public License 
00018 //along with this program; if not, write to the Free Software Foundation, 
00019 //Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00020 //
00021 
00022 //@file charmm_types.h
00023 // manages translation of default btk topological atom types to 
00024 // charmm chemical atom types
00025 //
00026 
00027 #ifndef BTK_CHARMM_TYPES_H
00028 #define BTK_CHARMM_TYPES_H
00029 
00030 #include "atom_types.h"
00031 #include "group_types.h"
00032 
00033 
00034 namespace BTK{
00035   namespace CHARMM {
00036     // atom types from file: top_all27_prot_na.inp distributed with 
00037     // CHARMM 27 -- the btk charmm functions will not necessarily 
00038     //   support all of the types below
00039     //
00040     enum index_t {
00041       UNKNOWN = -1,
00042       H, HC, HA, HT, HP, HB, HR1, HR2,
00043       HR3, HS, HE1, HE2,
00044       C, CA, CT1, CT2, CT3, CPH1, CPH2, CPT,
00045       CY, CP1, CP2, CP3, CC, CD, CPA, CPB,
00046       CPM, CM, CS, CE1, CE2,
00047       N, NR1, NR2, NR3, NH1, NH2, NH3, NC2,
00048       NY, NP, NPH,
00049       O, OB, OC, OH1, OS, OT, OM,
00050       S, SM, SS,
00051       HE,
00052       NE,
00053       CAL,
00054       ZN,
00055       FE,
00056       DUM,
00057       HN1, HN2, HN3, HN3B, HN3C, HNP, HN4, HN5,
00058       HN6, HN7, HN8, HN9, HNE1, HNE2,
00059       CN1, CN1A, CN1T, CN2, CN3, CN3A, CN3B, CN3C,
00060       CN3D, CN3T, CN4, CN5, CN5G, CN7, CN7B, CN7C,
00061       CN7D, CN8, CN8B, CN9, CNE1, CNE2, CNA, CNA2,
00062       NN1, NN1C, NN2, NN2B, NN2C, NN2U, NN2G, NN3,
00063       NN3A, NN3I, NN3G, NN4, NN5, NN6, ON1, ON1C,
00064       ON2, ON3, ON4, ON5, ON6, ON6B, ON2b,
00065       FN1, FNA,
00066       P, P2,
00067       SOD,
00068       MG,
00069       POT,
00070       CES,
00071       CLA,
00072       SIZE
00073     };
00074 
00075     index_t btk_atom_index_to_charmm_index(GROUP::index_t g,
00076                                            ATOM::index_t a); 
00077 
00078   }
00079 } 
00080 
00081 #endif
00082 
00083 
00084 
00085 

Generated on Wed Apr 14 00:43:17 2004 for BTK by doxygen 1.3.6