Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.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
11 /// @brief helper functions for SSPairPotential and HSPairPotential
12 /// @author Nobuyasu Koga ( nobuyasu@u.washington.edu )
13 
14 #ifndef INCLUDED_protocols_fldsgn_potentials_sspot_util_HH
15 #define INCLUDED_protocols_fldsgn_potentials_sspot_util_HH
16 
17 /// Unit headers
18 #include <core/types.hh>
19 #include <core/pose/Pose.fwd.hh>
20 
21 #include <utility/vector1.hh>
22 
23 
24 namespace protocols {
25 namespace fldsgn {
26 namespace potentials {
27 namespace sspot {
28 
29 typedef core::Size Size;
30 typedef core::Real Real;
31 typedef core::Vector Vector;
32 typedef core::pose::Pose Pose;
33 
34 void
35 spherical(
36  Vector const & a2,
37  Vector const & a4,
38  Real & phi,
39  Real & theta,
40  Vector const & cen1,
41  Vector const & cen2,
42  Vector const & v21
43 );
44 
45 /// @brief identifies the sequence separation along the fold tree
46 /// add the gap_size (default 10 ) into seqsep when there is chain break between pos1 and pos2
47 Size
49  Pose const & pose,
50  Size pos1,
51  Size pos2,
52  Size gap_size=10
53 );
54 
55 
56 } // ns sspot
57 } // ns potentials
58 } // ns fldsgn
59 } // ns protocols
60 
61 #endif