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
orbitals
OrbitalsLookup.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
#ifndef INCLUDED_core_scoring_orbitals_OrbitalsLookup_hh
11
#define INCLUDED_core_scoring_orbitals_OrbitalsLookup_hh
12
13
// Unit headers
14
#include <
core/scoring/orbitals/OrbitalsLookup.fwd.hh
>
15
16
#include <utility/vector1.hh>
17
18
#include <
core/types.hh
>
19
20
#include <
core/chemical/orbitals/OrbitalTypeMapper.fwd.hh
>
21
22
#include <numeric/interpolation/spline/Bicubic_spline.hh>
23
#include <numeric/interpolation/spline/Cubic_spline.hh>
24
25
#include <utility/pointer/ReferenceCount.hh>
26
27
#include <map>
28
#include <string>
29
30
#include <vector>
31
#include <
core/scoring/ScoreFunction.fwd.hh
>
32
33
namespace
core {
34
namespace
scoring {
35
namespace
orbitals {
36
37
class
OrbitalsLookup
:
public
utility::pointer::ReferenceCount
{
38
public
:
39
enum
h_type
{
Hpol_scOrbH
,
Haro_scOrbH
,
Hpol_bbOrbH
};
40
41
42
OrbitalsLookup
(
43
utility::vector1< std::string >
const
& DHO_energies,
44
utility::vector1< std::string >
const
& AOH_energies,
45
utility::vector1< std::string >
const
& AOO_energies,
46
utility::vector1< std::string >
const
& DOO_energies,
47
utility::vector1< std::string >
const
& ACO_AOH_orb_Hpol_energies
48
);
49
50
utility::vector1< utility::vector1< core::Real >
>
parse_files
(
51
std::string
const
& file,
52
std::map<
core::Size
, std::pair<core::Size, core::Size> > & orbital_angle_dist_map
53
)
const
;
54
55
void
OrbHdist_cosDHO_energy
(
56
const
h_type
h_enum,
57
const
core::Size
orb_type_name,
58
const
core::Real
distance
,
59
const
core::Real
AOH_angle,
60
core::Real
& energy,
61
core::Real
& distance_derivative,
62
core::Real
& angle_derivative,
63
bool
check_derivative
64
)
const
;
65
66
void
OrbHdist_cosAOH_energy
67
(
68
const
h_type
h_enum,
69
const
core::Size
orb_type_name,
70
const
core::Real
distance
,
71
const
core::Real
AOH_angle,
72
core::Real
& energy,
73
core::Real
& distance_derivative,
74
core::Real
& angle_derivative,
75
bool
check_derivative,
76
bool
ACO
77
)
const
;
78
79
void
OrbOrbDist_cosAOD_energy
(
80
const
core::Size
orb_type_name1,
81
const
core::Size
orb_type_name2,
82
const
core::Real
distance
,
83
const
core::Real
AOO_angle,
84
core::Real
& energy,
85
core::Real
& distance_derivative,
86
core::Real
& angle_derivative,
87
bool
check_derivative
88
)
const
;
89
void
OrbOrbDist_cosDOA_energy
(
90
const
core::Size
orb_type_name1,
91
const
core::Size
orb_type_name2,
92
const
core::Real
distance
,
93
const
core::Real
DOO_angle,
94
core::Real
& energy,
95
core::Real
& distance_derivative,
96
core::Real
& angle_derivative,
97
bool
check_derivative
98
99
)
const
;
100
101
void
set_orb_weights
(
ScoreFunction
const
& weights)
const
;
102
103
private
:
104
///@brief number of statistics to put into matrix
105
core::Size
number_stats_
;
106
///@brief number of elements in the KBP
107
core::Size
number_elements_
;
108
109
utility::vector1< numeric::interpolation::spline::BicubicSpline >
DHO_Hpol_scOrbH_splines_
;
110
utility::vector1< numeric::interpolation::spline::BicubicSpline >
DHO_Haro_scOrbH_splines_
;
111
utility::vector1< numeric::interpolation::spline::BicubicSpline >
DHO_Hpol_bbOrbH_splines_
;
112
113
utility::vector1< numeric::interpolation::spline::BicubicSpline >
AOH_Hpol_scOrbH_splines_
;
114
utility::vector1< numeric::interpolation::spline::BicubicSpline >
AOH_Haro_scOrbH_splines_
;
115
utility::vector1< numeric::interpolation::spline::BicubicSpline >
AOH_Hpol_bbOrbH_splines_
;
116
117
118
utility::vector1< numeric::interpolation::spline::BicubicSpline >
AOD_orb_orb_splines_
;
119
utility::vector1< numeric::interpolation::spline::BicubicSpline >
DOA_orb_orb_splines_
;
120
utility::vector1< numeric::interpolation::spline::BicubicSpline >
ACO_AOH_orb_Hpol_splines_
;
121
122
mutable
core::Real
scOrb_scHpol_weight_
;
123
mutable
core::Real
scOrb_scOrb_weight_
;
124
125
};
126
127
128
129
}
130
}
131
}
132
133
134
135
#endif
/* ORBITALSLOOKUP_HH_ */
Generated on Sat Jun 1 2013 11:39:24 for Rosetta 3.5 by
1.8.4