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

sasa_lut.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) 2001, Eric Alm <ealm3141@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 /*  sasa_lut.h  */
00022 
00023 #ifndef SASA_LUT_H_
00024 #define SASA_LUT_H_
00025 
00026 namespace BTK_Internal {
00027 
00028 const int WORDSIZE = sizeof(unsigned long);
00029 
00031 const int MASK_SIZE = 162;
00032 
00034 const int MASK_BYTES = (MASK_SIZE-1)/8 + 1;
00035 
00037 const int MASK_BITS = MASK_BYTES*8; 
00038 
00040 const int MASK_WORDS = (MASK_BYTES-1)/WORDSIZE + 1;
00041 
00043 const int D2_NUM = 100;
00044 const int NUMPHI = 64;
00045 const int NUMTHETA = 64;
00046 
00047 
00049 //    final wordsize is added so that we can safely 
00050 //    read word-sized chunks from the mask array
00051 extern const unsigned char sasa_mask_lut[MASK_SIZE*D2_NUM*MASK_BYTES+WORDSIZE];
00052 extern const unsigned char sasa_angle_lut[NUMPHI*NUMTHETA];
00053 
00054 }
00055 
00056 #endif
00057 
00058 

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