Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
atom_tree_minimize.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/optimization/atom_tree_minimize.hh
11 /// @brief Atom tree minimization functions
12 /// @author Phil Bradley
13 
14 #ifndef INCLUDED_core_optimization_atom_tree_minimize_hh
15 #define INCLUDED_core_optimization_atom_tree_minimize_hh
16 
17 
18 // Package headers
20 // AUTO-REMOVED #include <core/optimization/MinimizerMap.hh>
24 
25 // Project headers
26 #include <core/pose/Pose.fwd.hh>
28 
29 // ObjexxFCL headers
30 // AUTO-REMOVED #include <ObjexxFCL/FArray2D.fwd.hh>
31 
34 #include <utility/vector1.hh>
35 
36 
37 
38 namespace core {
39 namespace optimization {
40 
41 
42 void
44  pose::Pose & pose,
45  MinimizerMap & min_map,
46  scoring::ScoreFunction const & scorefxn,
47  Multivec const & vars,
48  Multivec & dE_dvars
49 );
50 
51 
52 void
54  pose::Pose & pose,
55  MinimizerMap & min_map,
56  scoring::ScoreFunction const & scorefxn
57 );
58 
59 Real
61  kinematics::tree::Atom const & atom,
62  optimization::DOF_Node const & dof_node,
63  Real dof_deriv, // derivatives applied directly to this DOF, if any
64  Real torsion_scale_factor
65 );
66 
67 /// @brief Numeric deriv check for Multifuncs other than the AtomTreeMultifunc.
68 SimpleDerivCheckResult
70  Multifunc const & func,
71  Multivec const & start_vars,
72  Multivec const & dE_dvars,
73  bool send_to_stdout,
74  bool verbose,
75  Size nsteps = 5
76 );
77 
78 void
80  MinimizerMap const & min_map,
81  Multifunc const & func,
82  Multivec const & start_vars,
83  Multivec const & dE_dvars,
84  NumericalDerivCheckResultOP deriv_check_result,
85  bool const verbose // = true
86 );
87 
88 
89 // Real
90 // calculate_direct_dof_derivatives(
91 // DOF_Node const & tor,
92 // pose::Pose const & pose,
93 // scoring::ScoreFunction const & scorefxn,
94 // ObjexxFCL::FArray2D< Real > const & dunbrack_deriv // currently this is pre-computed
95 // );
96 
97 
98 } // namespace optimization
99 } // namespace core
100 
101 #endif // INCLUDED_core_optimization_atom_tree_minimize_HH