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 StepWiseProteinAnsatz classes
12 /// @detailed
13 /// @author Rhiju Das
14 
15 
16 //////////////////////////////////
18 
19 //////////////////////////////////
20 #include <core/types.hh>
21 #include <core/chemical/util.hh>
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 namespace protein {
47 
49  phi_( phi ),
50  psi_( psi ),
51  omega_( omega )
52  {}
53 
55  phi_( phi ),
56  psi_( psi ),
57  omega_( 180.0 )
58  {}
59 
61 
62  core::Real const phi() const{ return phi_; }
63  core::Real const psi() const{ return psi_; }
64  core::Real const omega() const{ return omega_; }
65 
68  {
69  phi_ = src.phi();
70  psi_ = src.psi();
71  omega_ = src.omega();
72  return (*this );
73  }
74 
75 }
76 }
77 }