Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
constants.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file core/scoring/types.hh
11 /// @brief core::scoring package type declarations
12 /// @author Stuart G. Mentzer (Stuart_Mentzer@objexx.com)
13 
14 
15 #ifndef INCLUDED_core_scoring_hbonds_constants_hh
16 #define INCLUDED_core_scoring_hbonds_constants_hh
17 
18 
19 // Project Headers
21 #include <core/types.hh>
22 
23 // Numeric Headers
24 
25 // ObjexxFCL Headers
26 
27 
28 
29 namespace core {
30 namespace scoring {
31 namespace hbonds {
32 
33 
34 // This gives the size of the evaluation related lookup tables defined
35 // in the HBondDatabase
37 
38 //car cutoffs defining what is a hbond
39 static core::Real const MAX_R = { 3.0 };
40 static core::Real const MIN_R = { 1.4 }; // AH distance
41 static core::Real const MIN_xH = { -1.0 }; // cos( radians( 180.0 - 0.0 ) ) // psi cutoff -- the fade functions enforce that out-of-range interactions are not scored.
42 static core::Real const MIN_xD = { 0.0 }; // cos( radians( 180.0 - 90.0 ) ) // theta cutoff
43 static core::Real const MIN_xC = { 0.0 }; // chi cutoff
44 static core::Real const MAX_xH = { 1.0 }; // cos( radians( 180.0 - 180.0 ) ) // psi cutoff
45 static core::Real const MAX_xD = { 1.0 }; // cos( radians( 180.0 - 180.0 ) ) // theta cutoff
46 
47 // chi term not yet implemented
48 //static core::Real const MAX_xC = { numeric::constants::d::pi_2 }; // chi cutoff
49 
50 static core::Real const MIN_R2 = { MIN_R * MIN_R };
51 static core::Real const MAX_R2 = { MAX_R * MAX_R };
52 
53 static core::Real const MAX_HB_ENERGY = { 0.0 }; // at and above this cutoff, not considered a hbond
54 
55 } // namespace hbonds
56 } // namespace scoring
57 } // namespace core
58 
59 
60 #endif // INCLUDED_core_scoring_types_HH