41 #include <basic/prof.hh>
46 #include <utility/vector1.hh>
49 #include <utility/string_util.hh>
54 namespace optimization {
70 static int count_dumped( 0 );
71 static bool after(
true );
73 if ( after ) { ++count_dumped; after =
false; }
74 else { after =
true; }
78 std::string which = ( after ?
"after_" :
"before_" );
79 pose_.
dump_pdb(
"atomtree_multifunc_error_pose_" + which + utility::to_string( count_dumped ) +
".pdb" );
82 std::cerr << std::endl;
83 using namespace scoring;
94 using namespace scoring;
106 dfunc( vars, dvars );
126 ( static_cast< scoring::hbonds::HBondSet const & >
129 for (
Size ii = 1; ii <= hbond_set.
nhbonds(); ++ii ) {
131 std::cerr <<
"Hbond " << ii <<
134 " e: " << iihbond.
energy() <<
" " << iihbond.
weight() <<
135 " good? " << hbond_set.
allow_hbond( iihbond ) << std::endl;
144 PROF_START( basic::FUNC );
147 PROF_STOP( basic::FUNC );
156 PROF_START( basic::DFUNC );
164 PROF_STOP( basic::DFUNC );