31 #include <numeric/xyz.functions.hh>
32 #include <basic/Tracer.hh>
33 #include <basic/basic.hh>
42 static basic::Tracer
TR(
"protocols.simple_moves.oop.OopMover" );
46 using namespace conformation;
47 using namespace chemical;
48 using namespace core::id;
51 namespace simple_moves {
63 using numeric::conversions::radians;
64 using numeric::conversions::degrees;
71 runtime_assert ( oop_post_pos_ != 1 );
77 Real offset = 180 + phi_angle_ ;
88 TR <<
"current oop_pre ("<< oop_pre_pos_<<
") PHI: " << pose.
phi(oop_pre_pos_) << std::endl;
89 pose.
set_phi(oop_pre_pos_, phi_angle_);
90 TR <<
"new oop_pre ("<< oop_pre_pos_<<
") PHI: " << pose.
phi(oop_pre_pos_) << std::endl;
92 TR <<
"current oop_pre ("<< oop_pre_pos_<<
") PSI: " << pose.
psi(oop_pre_pos_) << std::endl;
93 pose.
set_psi(oop_pre_pos_, psi_angle_);
94 TR <<
"new oop_pre ("<< oop_pre_pos_<<
") PSI: " << pose.
psi(oop_pre_pos_) << std::endl;
97 update_hydrogens_( pose );
102 OopMover::get_name()
const {
109 ):
Mover(), oop_pre_pos_(oop_seq_position), oop_post_pos_(oop_seq_position+1)
118 ):
Mover(), oop_pre_pos_(oop_seq_position), oop_post_pos_(oop_seq_position+1), phi_angle_(phi_angle), psi_angle_(psi_angle)
128 using numeric::conversions::radians;
129 using numeric::conversions::degrees;
153 Real VZP_torsion_correction = numeric::dihedral_degrees( CZP_xyz, CYP_xyz, N_xyz, CA_xyz ) - degrees( pose.
conformation().
torsion_angle( aidVZP, aidCYP, aidN, aidCA ) );
160 Real VYP_torsion_correction = numeric::dihedral_degrees( CYP_xyz, CZP_xyz, NZ_xyz, CAZ_xyz ) - degrees( pose.
conformation().
torsion_angle( aidVYP, aidCZP, aidN_Z, aidCA_Z ));
172 TR<<
"CZP-CYP-N-CA: "<< numeric::dihedral_degrees(CZP_xyz,CYP_xyz,N_xyz,CA_xyz) <<std::endl;
179 TR<<
"CYP-CZP-N-CA: "<< numeric::dihedral_degrees(CYP_xyz,CZP_xyz,NZ_xyz,CAZ_xyz) <<std::endl;