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
flexpack
OtherContextScoreFunction.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 protocols/flexpack/OtherContextScoreFunction.hh
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com), Florian Richter (floric@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_flexpack_OtherContextScoreFunction_hh
15
#define INCLUDED_protocols_flexpack_OtherContextScoreFunction_hh
16
17
/// Unit headers
18
/// 1. CREATE THE FORWARD DECLARATION FILE
19
/// 2. #INCLUDE IT HERE
20
21
/// Project headers
22
#include <
core/scoring/ScoreFunction.hh
>
23
#include <
core/pose/Pose.fwd.hh
>
// GET OUT OF THE HABIT OF #INCLUDING POSE.HH IN HEADER FILES
24
25
#include <utility/vector1.hh>
26
27
28
29
namespace
protocols {
30
namespace
flexpack {
31
32
class
OtherContextScoreFunction
:
public
core::scoring::ScoreFunction
33
{
34
35
public
:
36
typedef
core::scoring::ScoreFunction
parent
;
37
38
public
:
39
OtherContextScoreFunction
();
40
~OtherContextScoreFunction
();
/// ALWAYS EXPLICITLY DEFINE A DSTOR -- *ESPECIALLY* IF THE CLASS CONTAINS AN OP TO SOME OTHER CLASS
41
42
OtherContextScoreFunction
(
43
core::pose::Pose
const
& context_pose
44
);
45
46
void
47
set_context_pose
(
core::pose::Pose
const
& pose );
48
49
void
pre_scoring
();
//call this before scoring.
50
51
void
52
eval_cd_1b
(
53
core::conformation::Residue
const
& rsd,
54
core::pose::Pose
const
& pose,
55
core::scoring::EnergyMap
& emap
56
)
const
;
57
58
59
/// @brief accumulate unweighted interaction energies between rsd1 and rsd2
60
/// for all short ranged context dependent two body energies contained in this scorefunction
61
void
62
eval_cd_2b
(
63
core::conformation::Residue
const
& rsd1,
64
core::conformation::Residue
const
& rsd2,
65
core::pose::Pose
const
& pose,
66
core::scoring::EnergyMap
& emap
67
)
const
;
68
69
70
void
71
eval_cd_intrares_energy
(
72
core::conformation::Residue
const
& rsd,
73
core::pose::Pose
const
& pose,
74
core::scoring::EnergyMap
& emap
75
)
const
;
76
77
78
private
:
79
80
core::pose::PoseOP
context_pose_
;
81
bool
scored_context_pose_
;
82
};
83
84
/// CREATE A .FWD.HH FILE AND PUT THIS TYPEDEF THERE
85
typedef
utility::pointer::owning_ptr< OtherContextScoreFunction >
OtherContextScoreFunctionOP
;
86
typedef
utility::pointer::owning_ptr< OtherContextScoreFunction const >
OtherContextScoreFunctionCOP
;
87
88
}
89
}
90
91
#endif
Generated on Sat Jun 1 2013 11:50:23 for Rosetta 3.5 by
1.8.4