24 #include <basic/options/option.hh>
25 #include <basic/options/keys/fold_and_dock.OptionKeys.gen.hh>
32 #include <basic/Tracer.hh>
34 #include <utility/vector1.hh>
38 namespace simple_moves {
39 namespace asym_fold_and_dock {
41 static basic::Tracer
TR(
"protocols.simple_moves.symmetry.AsymFoldandDockRbTrialMover");
44 protocols::moves::
Mover(
"AsymFoldandDockRbTrialMover" ),
45 smooth_move_(false), rot_mag_(8.0), trans_mag_(3.0), rigid_body_cycles_(50), mc_filter_(true)
53 protocols::moves::
Mover(
"AsymFoldandDockRbTrialMover" ),
54 scorefxn_(scorefxn), smooth_move_(false), rot_mag_(8.0), trans_mag_(3.0), rigid_body_cycles_(50), mc_filter_(true)
61 protocols::moves::
Mover(
"AsymFoldandDockRbTrialMover" ),
62 scorefxn_(scorefxn), smooth_move_(smooth_move), rot_mag_(8.0), trans_mag_(3.0), rigid_body_cycles_(50), mc_filter_(true)
71 protocols::moves::
Mover(
"AsymFoldandDockRbTrialMover" ),
72 scorefxn_( scorefxn), smooth_move_(smooth_move), rot_mag_(rot_mag), trans_mag_(trans_mag)
79 using namespace basic::options;
80 using namespace protocols::moves;
82 TR.Debug <<
"Rb move applied..." << std::endl;
89 if ( option[ OptionKeys::fold_and_dock::trans_mag_smooth ].user() ) {
90 trans_mag_smooth = option[ OptionKeys::fold_and_dock::trans_mag_smooth ];
92 if ( option[ OptionKeys::fold_and_dock::rot_mag_smooth ].user() ) {
93 rot_mag_smooth = option[ OptionKeys::fold_and_dock::rot_mag_smooth ];
98 if ( option[ OptionKeys::fold_and_dock::rb_rot_magnitude ].user() )
100 rot_mag_ = ( option[ OptionKeys::fold_and_dock::rb_rot_magnitude ] );
104 if ( option[ OptionKeys::fold_and_dock::rb_trans_magnitude ].user() )
106 trans_mag_ = ( option[ OptionKeys::fold_and_dock::rb_trans_magnitude ] );
113 if ( option[ OptionKeys::fold_and_dock::rigid_body_cycles ].user() )
118 if ( option[ OptionKeys::fold_and_dock::rigid_body_disable_mc ].user() )
129 movemap->set_bb(
false );
130 movemap->set_chi(
false );
131 movemap->set_jump(
true );
136 pose, *movemap, rot_mag_trial, trans_mag_trial,
140 rb_perturb.apply( pose );
141 if (
mc_filter_ ) monteCarlo_->boltzmann( pose );
148 return "AsymFoldandDockRbTrialMover";