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
core
scoring
OmegaTether.hh
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 core/scoring/OmegaTether.hh
11
/// @brief OmegaTether potential class delcaration
12
/// @author Andrew Leaver-Fay (leaverfa@email.unc.edu)
13
14
#ifndef INCLUDED_core_scoring_OmegaTether_hh
15
#define INCLUDED_core_scoring_OmegaTether_hh
16
17
// Unit Headers
18
#include <
core/scoring/OmegaTether.fwd.hh
>
19
20
// Project Headers
21
#include <
core/types.hh
>
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
25
// Utility Headers
26
#include <utility/pointer/ReferenceCount.hh>
27
#include <utility/io/izstream.hh>
28
29
#include <
core/chemical/AA.hh
>
30
#include <
core/conformation/Residue.fwd.hh
>
31
#include <utility/vector1.hh>
32
#include <ObjexxFCL/FArray2D.hh>
33
34
#include <numeric/interpolation/spline/Bicubic_spline.hh>
35
36
namespace
core {
37
namespace
scoring {
38
39
40
41
class
OmegaTether
:
public
utility::pointer::ReferenceCount
42
{
43
public
:
44
typedef
pose::Pose
Pose
;
45
typedef
chemical::AA
AA
;
46
47
public
:
48
OmegaTether
();
49
~OmegaTether
() {}
50
51
Real
52
eval_omega_score_residue
(
53
AA
const
res_aa,
54
Real
const
omega
,
55
Real
const
phi
,
56
Real
const
psi
57
)
const
;
58
59
void
60
eval_omega_score_residue
(
61
conformation::Residue
const
& res,
62
Real
& energy,
63
Real
& denergy_domega,
64
Real
& denergy_dphi,
65
Real
& denergy_dpsi
66
)
const
;
67
68
void
69
eval_omega_score_residue
(
70
AA
const
res_aa,
71
Real
const
omega
,
72
Real
const
phi
,
73
Real
const
psi
,
74
Real
& energy,
75
Real
& denergy_domega,
76
Real
& denergy_dphi,
77
Real
& denergy_dpsi
78
)
const
;
79
80
81
void
82
eval_omega_score_all
(
83
Pose
& pose,
84
ScoreFunction
const
& scorefxn
85
)
const
;
86
87
88
private
:
89
90
void
read_omega_tables
();
91
void
read_table_from_stream
( utility::io::izstream &, ObjexxFCL::FArray2D< Real > &, ObjexxFCL::FArray2D< Real > &);
92
void
setup_interpolation
( ObjexxFCL::FArray2D< Real > &, numeric::interpolation::spline::BicubicSpline &);
93
94
// phi-psi dependent only
95
bool
use_phipsi_dep_
;
96
utility::vector1< ObjexxFCL::FArray2D< core::Real >
>
omega_mus_all_
,
omega_sigmas_all_
;
97
utility::vector1< numeric::interpolation::spline::BicubicSpline >
omega_mus_all_splines_
,
omega_sigmas_all_splines_
;
98
};
99
100
}
101
}
102
103
#endif
Generated on Sat Jun 1 2013 11:39:23 for Rosetta 3.5 by
1.8.4