42 #include <basic/Tracer.hh>
43 #include <basic/options/option.hh>
44 #include <basic/options/keys/PCS.OptionKeys.gen.hh>
47 #include <utility/exit.hh>
49 #include <utility/vector1.hh>
63 using namespace ObjexxFCL;
71 filename_(
""), weight_(0)
73 utility_exit_with_message(
"You shouldn't call the empty constructor for PcsDataLanthanide class" );
77 filename_(other.filename_), weight_(other.weight_), svd_s_(other.svd_s_)
128 if (
this != &other ) {
150 for(i = 1; i <=
A_index_.size(); ++i){
151 for(j = 1; j <= 5; ++j){
162 for(i = 1; i <=
A_index_.size(); ++i){
163 for(j = 1; j <= 5; ++j){
180 score =
svd_s_.run_score_svd_without_solving();
213 score =
svd_s_.run_score_svd_without_solving();
292 if((residue_number >= start)&&(residue_number <=
end)){
303 for (i = 1; i <= pcs_i_l_v.size(); ++i){
311 return(n_pcs_reduced);
321 filename_(filename), weight_(weight), svd_s_(basic::svd::SVD_Solver(
reduced_size(pcs_i_l_v, start, end), 5))
325 using namespace core;
326 using namespace basic::options;
327 using namespace basic::options::OptionKeys;
340 svd_s_ = basic::svd::SVD_Solver(M,
N);
349 for(i = 1; i <= M; i++){
357 for (i = 1; i <= pcs_i_l_v.size(); ++i){
366 if(individual_scale >= 0.0){
368 std::cerr <<
"WARNING: INDIVIDUAL_NOARMALIZATION ON (message2) with " << individual_scale << std::endl;
381 svd_s_.set_vector_b(vec_temp);
390 for (i = 1; i <= pcs_i_l_v.size(); ++i){
399 if( option[ basic::options::OptionKeys::PCS::normalization_id ].user() ){
400 core::Size norma_id (option[ basic::options::OptionKeys::PCS::normalization_id ]());
420 utility_exit_with_message(
"You should use a valid normalization id ('1' or '2' or '3')");
447 out << std::setprecision(4) << std::endl;
448 out <<
" Filename : " << me.
get_filename() << std::endl;
449 out <<
" Number of pcs : " << me.
get_n_pcs() << std::endl;
450 out <<
" b vector (pcs values) : " << std::endl;
453 out <<
" " << std::setw(4) << i <<
":"<< std::setw(10) <<me.
cstyle_b_[i] << std::endl;
457 out <<
" A_index : " << std::endl;
459 out <<
" " << std::setw(4) << i <<
":" << std::setw(4) <<me.
A_index_[i];