25 #include <ObjexxFCL/FArray1D.hh>
29 #include <basic/Tracer.hh>
31 #include <numeric/random/random.hh>
32 #include <numeric/xyzVector.hh>
46 #include <utility/vector1.hh>
51 static numeric::random::RandomGenerator
RG(22220);
53 static basic::Tracer
TR(
"protocols.rna.rna_fragment_mover" ) ;
60 RNA_FragmentMover::RNA_FragmentMover(
64 rna_fragments_( rna_fragments ),
65 allow_insert_( allow_insert ),
66 num_insertable_residues_( 0 ),
67 insert_map_frag_size_( 0 ),
70 Mover::type(
"RNA_FragmentMover");
75 ObjexxFCL::FArray1D<bool>
const & allow_insert_in,
78 rna_fragments_( all_rna_fragments ),
79 num_insertable_residues_( 0 ),
80 insert_map_frag_size_( 0 ),
83 Mover::type(
"RNA_FragmentMover");
87 for (
Size i = 1; i <= allow_insert_in.size(); i++ ){
102 return "RNA_FragmentMover";
133 bool frame_ok =
true;
138 Size const n = i + offset - 1;
157 if ( !frame_ok )
continue;
163 frame_ok =
false;
break;
177 if ( !frame_ok )
continue;
210 Size const & frag_size
234 Size const fragment_size