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
simple_moves
ProlineFixMover.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 ProlineFixMover.cc
11
/// @brief
12
/// @author
13
14
// Unit Headers
15
#include <
protocols/moves/Mover.hh
>
16
17
// Package headers
18
#include <
protocols/simple_moves/ProlineFixMover.hh
>
19
20
// Project headers
21
// AUTO-REMOVED #include <core/pose/Pose.hh>
22
#include <
core/scoring/ScoreFunction.hh
>
23
#include <
core/scoring/ScoreFunction.fwd.hh
>
24
#include <
core/scoring/ScoreFunctionFactory.hh
>
25
26
#include <
core/kinematics/MoveMap.hh
>
27
#include <
core/optimization/AtomTreeMinimizer.hh
>
28
#include <
core/optimization/MinimizerOptions.hh
>
29
30
#include <
core/pack/pack_rotamers.hh
>
31
#include <
core/pack/task/PackerTask.hh
>
32
#include <
core/pack/task/TaskFactory.hh
>
33
34
// tracer
35
#include <basic/Tracer.hh>
36
37
#include <utility/vector0.hh>
38
#include <utility/vector1.hh>
39
40
41
using
basic::T
;
42
using
basic::Error;
43
using
basic::Warning;
44
45
// C++ Headers
46
47
// ObjexxFCL Headers
48
49
namespace
protocols {
50
namespace
simple_moves {
51
52
void
ProlineFixMover::apply
(
core::pose::Pose
& pose ) {
53
54
core::scoring::ScoreFunctionOP
scorefxn(
core::scoring::getScoreFunction
() );
55
56
// try a repack
57
core::pack::task::PackerTaskOP
task(
58
core::pack::task::TaskFactory::create_packer_task
( pose )
59
);
60
task->initialize_from_command_line();
61
task->restrict_to_repacking();
62
core::pack::pack_rotamers
(pose, (*scorefxn), task);
63
64
// try a minimize
65
core::kinematics::MoveMap
mm;
66
mm.
set_bb
(
false
);
67
mm.
set_chi
(
true
);
68
69
core::optimization::AtomTreeMinimizer
().
run
(
70
pose, mm, (*scorefxn),
core::optimization::MinimizerOptions
(
"dfpmin"
,0.001,
true
)
71
);
72
73
}
// apply
74
75
std::string
76
ProlineFixMover::get_name
()
const
{
77
return
"ProlineFixMover"
;
78
}
79
80
}
// moves
81
}
// protocols
82
Generated on Sat Jun 1 2013 12:16:39 for Rosetta 3.5 by
1.8.4