Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
swa
protein
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
//////////////////////////////////
17
#include <
protocols/swa/protein/MainChainTorsionClasses.hh
>
18
19
//////////////////////////////////
20
#include <
core/types.hh
>
21
#include <
core/chemical/util.hh
>
22
#include <
core/io/silent/BinaryProteinSilentStruct.hh
>
23
#include <
core/io/silent/SilentFileData.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
>
29
#include <
core/scoring/rms_util.tmpl.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
48
MainChainTorsionSet
(
core::Real
const
&
phi
,
core::Real
const
&
psi
,
core::Real
const
&
omega
):
49
phi_( phi ),
50
psi_( psi ),
51
omega_( omega )
52
{}
53
54
MainChainTorsionSet
(
core::Real
const
&
phi
,
core::Real
const
&
psi
):
55
phi_( phi ),
56
psi_( psi ),
57
omega_( 180.0 )
58
{}
59
60
~MainChainTorsionSet
(){}
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
66
MainChainTorsionSet
67
MainChainTorsionSet::operator=
(
MainChainTorsionSet
const
& src )
68
{
69
phi_
= src.
phi
();
70
psi_
= src.
psi
();
71
omega_
= src.
omega
();
72
return
(*
this
);
73
}
74
75
}
76
}
77
}
Generated on Sat Jun 1 2013 12:18:55 for Rosetta 3.5 by
1.8.4