Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DockingLowResEnsemble.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 DockingLowResEnsemble
11 /// @brief protocols that are specific to low resolution ensemble docking
12 /// @detailed
13 /// @author Daisuke Kuroda
14 
18 
19 // Rosetta Headers
21 
22 // AUTO-REMOVED #include <basic/options/option.hh>
23 // AUTO-REMOVED #include <basic/options/keys/OptionKeys.hh>
24 
25 // AUTO-REMOVED #include <core/kinematics/FoldTree.hh>
26 
27 #include <core/pose/Pose.hh>
28 
30 
33 #include <protocols/moves/Mover.hh>
38 
39 // Utility Headers
40 #include <utility/tools/make_vector1.hh>
41 
42 // ObjexxFCL Headers
43 #include <ObjexxFCL/string.functions.hh>
44 #include <ObjexxFCL/format.hh>
45 
46 // C++ Headers
47 #include <string>
48 
49 //Utility Headers
50 // AUTO-REMOVED #include <numeric/conversions.hh>
51 
52 #include <numeric/trig.functions.hh>
53 #include <numeric/xyzMatrix.fwd.hh>
54 
55 #include <basic/Tracer.hh>
56 
58 #include <utility/vector0.hh>
59 #include <utility/vector1.hh>
60 
61 using basic::T;
62 using basic::Error;
63 using basic::Warning;
64 
65 static basic::Tracer TR("protocols.docking.DockingLowResEnsemble");
66 
67 using namespace core;
68 
69 namespace protocols {
70 namespace docking {
71 
72 // default constructor
73 DockingLowResEnsemble::DockingLowResEnsemble() : DockingLowRes()
74 {
75  type( "DockingLowResEnsemble" );
76 }
77 
78 // constructor with arguments
81  DockJumps const movable_jumps
82 ) : DockingLowRes( scorefxn, movable_jumps )
83 {
84  type( "DockingLowResEnsemble" );
85 }
86 
87 //destructor
89 
90 
92  return new DockingLowResEnsemble(*this);
93 }
94 
95 
97 {
99 }
100 
102 {
104 }
105 
107  using namespace moves;
108 
110 
111  // add if ens_mover1 ...
112  // inner_move_sequence
115 }
116 
117 void DockingLowResEnsemble::show( std::ostream & out ) const
118 {
119  DockingLowRes::show( out );
120 
121  using namespace ObjexxFCL::fmt;
122  std::string line_marker = "///";
123  out << line_marker << " Ensemble 1: " << ( ( ensemble1_mover_ ) ? ( "on" ) : ( "off " ) );
124  out << space( 59 ) << line_marker << std::endl;
125  out << line_marker << " Ensemble 2: " << ( ( ensemble2_mover_ ) ? ( "on" ) : ( "off " ) );
126  out << space( 59 ) << line_marker << std::endl;
127 }
128 
129 } // namespace docking
130 } // namespace protocols