Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
closure.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 // This file is contains all the same functions as `bridgeObjects.cc', but
11 // radians are assumed for all angles. Although this is easier to use in most
12 // cases, it is not backwards compatible. That's why a new file was created.
13 
14 
15 /// @file bridgeObjects.hh
16 /// @brief Header file for bridgeObjects code for ALC
17 /// @author Evangelos A. Coutsias
18 /// @author Daniel J. Mandell
19 
20 #ifndef INCLUDED_numeric_kinematic_closure_hh
21 #define INCLUDED_numeric_kinematic_closure_hh
22 
23 // Rosetta Headers
24 #include <numeric/types.hh>
25 
26 // Utility headers
27 
28 #include <utility/vector1.fwd.hh>
29 
30 
31 namespace numeric {
32 namespace kinematic_closure {
33 namespace radians {
34 
35 void bridge_objects (
40  const utility::vector1<int>& pivots,
41  const utility::vector1<int>& order,
45  int& nsol);
46 
47 void chainTORS (
48  const int& n,
55 
61 
62 void chainXYZ (
63  const int& n,
67  const bool space,
71 
72 void chainXYZ (
73  const int& n,
78 
83 
84 void to_radians(
86 
87 void to_degrees(
89 
90 } // end namespace radians
91 } // end namespace kinematic_closure
92 } // end namespace numeric
93 
94 #endif
char space()
Space Character.
void to_degrees(utility::vector1< Real > &radians)
Definition: closure.cc:692
std::vector with 1-based indexing
Definition: vector1.fwd.hh:44
Real bondangle(const utility::vector1< Real > &a, const utility::vector1< Real > &b, const utility::vector1< Real > &c)
Definition: closure.cc:300
T degrees(T const &radians)
Degrees of radians.
Definition: conversions.hh:80
rosetta project type declarations. Should be kept updated with core/types.hh. This exists because num...
void chainTORS(const int &n, const utility::vector1< utility::vector1< Real > > &atoms, utility::vector1< Real > &t_ang, utility::vector1< Real > &b_ang, utility::vector1< Real > &b_len, utility::vector1< Real > &R0, utility::vector1< utility::vector1< Real > > &Q)
Definition: closure.cc:593
void chainXYZ(const int &n, const utility::vector1< Real > &b_len1, const utility::vector1< Real > &b_ang1, const utility::vector1< Real > &t_ang1, const bool space, const utility::vector1< Real > &R0, const utility::vector1< utility::vector1< Real > > &Q, utility::vector1< utility::vector1< Real > > &atoms)
Definition: closure.cc:405
void bridge_objects(const utility::vector1< utility::vector1< Real > > &atoms, const utility::vector1< Real > &dt, const utility::vector1< Real > &da, const utility::vector1< Real > &db, const utility::vector1< int > &pivots, const utility::vector1< int > &order, utility::vector1< utility::vector1< Real > > &t_ang, utility::vector1< utility::vector1< Real > > &b_ang, utility::vector1< utility::vector1< Real > > &b_len, int &nsol)
Solve the triaxial loop closure problem for a system of atoms.
Definition: closure.cc:740
void to_radians(utility::vector1< Real > &degrees)
Definition: closure.cc:683
Real torsion(const utility::vector1< Real > &a, const utility::vector1< Real > &b, const utility::vector1< Real > &c, const utility::vector1< Real > &d)
Definition: closure.cc:312
T radians(T const &degrees)
Radians of degrees.
Definition: conversions.hh:32
utility::vector1 forward declarations