Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EtableOptions.cc
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
11 /// @brief
12 /// @author
13 
14 // Unit headers
16 
17 // AUTO-REMOVED #include <core/scoring/types.hh>
18 #include <basic/options/option.hh>
19 
20 #include <basic/Tracer.hh>
21 
22 // option key includes
23 
24 #include <basic/options/keys/score.OptionKeys.gen.hh>
25 #include <basic/options/keys/corrections.OptionKeys.gen.hh>
26 
27 #include <utility/vector1.hh>
28 
29 
30 namespace core {
31 namespace scoring {
32 namespace etable {
33 
35  max_dis( 6.0 ),
36  bins_per_A2( 20 ),
37  Wradius( 1.0 ),
38  lj_switch_dis2sigma( 0.6 ),
39  disable_polar_desolvation( false ),
40  lj_hbond_OH_donor_dis(3.0),
41  lj_hbond_hdis(1.95)
42 {
43  using namespace basic::options;
44  using namespace basic::options::OptionKeys;
45  max_dis = option[ score::fa_max_dis ];
46  if( option[ score::no_smooth_etables ] && !option[ score::fa_max_dis ].user() ) {
47  basic::T("core.scoring.etable") << "no_smooth_etables requested and fa_max_dis not specified: using 5.5 as default" << std::endl;
48  max_dis = 5.5;
49  }
50  if ( option[ score::no_lk_polar_desolvation ] ) {
52  }
53 
54  lj_hbond_OH_donor_dis = option[ corrections::score::lj_hbond_OH_donor_dis ];
55  lj_hbond_hdis = option[ corrections::score::lj_hbond_hdis ];
56 
57 }
58 
59 } // etable
60 } // scoring
61 } // core
62 
63