Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SetupForFibrilMover.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 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file
10 /// @brief
11 /// @author
12 
13 // Unit headers
15 
16 // Package headers
18 // AUTO-REMOVED #include <core/conformation/symmetry/util.hh>
19 
20 
21 // ObjexxFCL Headers
22 
23 // C++ Headers
24 
25 // Utility Headers
26 #include <basic/Tracer.hh>
27 
28 #include <protocols/loops/Loop.hh>
29 #include <protocols/loops/Loops.hh>
31 #include <utility/vector1.hh>
32 
33 
34 namespace protocols {
35 namespace fibril {
36 
37 static basic::Tracer TR("protocols.moves.symmetry.SetupForFibrilMover");
38 
40  : Mover("SetupForFibrilMover") {}
41 
43 
44 void
46 {
47  // If we are alredy symmetric do nothing
48  if ( core::pose::symmetry::is_symmetric( pose ) ) return;
50  assert( core::pose::symmetry::is_symmetric( pose ) );
51 }
52 
55  return "SetupForFibrilMover";
56 }
57 
58 void
60  core::pose::Pose & pose,
61  core::pose::Pose & monomer_pose,
64 )
65 {
66  // If we are alredy symmetric do nothing
67  if ( core::pose::symmetry::is_symmetric( pose ) ) return;
68  std::cout<<"align: from "<<core<<" to " <<ref_core<<std::endl;
69  protocols::fibril::superimpose_pose_on_subset_bb( pose, monomer_pose, core, ref_core );
70 }
71 
72 } // fibril
73 } // protocols