Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MainChainTorsionClasses.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 MainChainTorsionClasses
11 /// @brief a few functions used by several StepWiseAnsatz classes
12 /// @detailed
13 /// @author Rhiju Das
14 
15 
16 //////////////////////////////////
18 
19 //////////////////////////////////
20 #include <core/types.hh>
21 
24 #include <core/id/NamedAtomID.hh>
25 #include <core/pose/Pose.hh>
26 
27 #include <core/pose/util.hh>
28 #include <core/scoring/rms_util.hh>
30 
31 #include <numeric/angle.functions.hh>
32 #include <numeric/xyz.functions.hh>
33 #include <numeric/conversions.hh>
34 
35 #include <string>
36 
37 
38 using core::Real;
39 using core::Size;
40 using core::pose::Pose;
41 
42 
43 
44 namespace protocols {
45 namespace swa {
46 
48  phi_( phi ),
49  psi_( psi ),
50  omega_( omega )
51  {}
52 
54  phi_( phi ),
55  psi_( psi ),
56  omega_( 180.0 )
57  {}
58 
60 
61  core::Real const phi() const{ return phi_; }
62  core::Real const psi() const{ return psi_; }
63  core::Real const omega() const{ return omega_; }
64 
67  {
68  phi_ = src.phi();
69  psi_ = src.psi();
70  omega_ = src.omega();
71  return (*this );
72  }
73 
74 }
75 }