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
DerivVectorPair.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/DerivVectorPair.hh
11
/// @brief Class for storing a pair of derivative vectors, f1 and f2, used in our
12
/// internal-geometry minimization algorithm.
13
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
14
15
16
#ifndef INCLUDED_core_scoring_DerivVectorPair_hh
17
#define INCLUDED_core_scoring_DerivVectorPair_hh
18
19
// Unit headers
20
#include <
core/scoring/DerivVectorPair.fwd.hh
>
21
22
// Package headers
23
#include <
core/types.hh
>
24
25
// Numeric headers
26
#include <numeric/xyzVector.hh>
27
28
29
namespace
core {
30
namespace
scoring {
31
32
/// @brief A glorified struct for holding f1/f2 vectors used to represent the
33
/// derivatives in our internal-geometry based minimization algorithms.
34
class
DerivVectorPair
35
{
36
public
:
37
DerivVectorPair
() :
f1_
( 0.0 ),
f2_
( 0.0 ) {}
38
Vector
&
f1
() {
return
f1_
; }
39
Vector
&
f2
() {
return
f2_
; }
40
Vector
const
&
f1
()
const
{
return
f1_
; }
41
Vector
const
&
f2
()
const
{
return
f2_
; }
42
43
private
:
44
Vector
f1_
;
45
Vector
f2_
;
46
};
47
48
}
// scoring
49
}
// core
50
51
#endif
Generated on Sat Jun 1 2013 11:35:57 for Rosetta 3.5 by
1.8.4