29 #include <basic/Tracer.hh>
39 #include <utility/vector0.hh>
40 #include <utility/vector1.hh>
43 static basic::Tracer
tr(
"protocols.topo_broker",basic::t_info);
46 namespace topology_broker {
55 for ( DofClaims::const_iterator it = init_dofs.begin(), eit = init_dofs.end();
57 if ( (*it)->owner()==this ) {
58 my_claims.push_back( *it );
61 if ( my_claims.size() ) {
62 tr.Warning <<
"[WARNING]" << type() <<
"did not initialize dofs as requested" << std::endl;
64 std::copy( my_claims.begin(), my_claims.end(), std::back_inserter( failed_to_init ) );
68 runtime_assert( init_claim->owner()==this );
69 failed_to_init.push_back( init_claim );
70 tr.Warning <<
"[WARNING]" << type() <<
"did not initialize residues as requested for claim..." << *init_claim << std::endl;
82 random_mover.
add_mover( mover, abinitio_mover_weight_->weight( stageID, progress ) );
90 if ( type ==
"LargeStage" ) {
92 }
else if ( type ==
"SmallStage" ) {
94 }
else if ( type ==
"SmoothStage" ) {
96 }
else if ( type ==
"AllStage" ) {
99 throw EXCN_Input(
"weight can only by one of LargeStage, SmallStage or AllStage " );
105 throw EXCN_Input (
"ERROR reading broker-setup. unknown tag: " + tag +
" in line:\n " + tag + line +
"\n");
111 while ( is >> tag && tag !=
"END_CLAIMER" ) {
112 if ( tag[ 0 ] ==
'#' ) {
116 tr.Trace <<
"READ_SETUP: tag = " << tag << std::endl;
117 if ( !read_tag( tag, is ) ) unknown_tag( tag, is );
119 init_after_reading();
123 if ( tag ==
"LABEL" ) {