Difference for src/colvarcomp_coordnums.C from version 1.12 to 1.13

version 1.12version 1.13
Line 190
Line 190
   }   }
 } }
  
  
 void colvar::coordnum::apply_force(colvarvalue const &force) void colvar::coordnum::apply_force(colvarvalue const &force)
 { {
   if (!group1->noforce)   if (!group1->noforce)
Line 200
Line 201
 } }
  
  
  simple_scalar_dist_functions(coordnum)
  
  
  
 // h_bond member functions // h_bond member functions
  
Line 252
Line 256
   atom_groups[0]->add_atom(donor);   atom_groups[0]->add_atom(donor);
 } }
  
  
 colvar::h_bond::h_bond() colvar::h_bond::h_bond()
   : cvc()   : cvc()
 { {
Line 284
Line 289
 } }
  
  
  simple_scalar_dist_functions(h_bond)
  
  
  
 colvar::selfcoordnum::selfcoordnum(std::string const &conf) colvar::selfcoordnum::selfcoordnum(std::string const &conf)
Line 339
Line 346
 } }
  
  
  simple_scalar_dist_functions(selfcoordnum)
  
  
 // groupcoordnum member functions // groupcoordnum member functions
 colvar::groupcoordnum::groupcoordnum(std::string const &conf) colvar::groupcoordnum::groupcoordnum(std::string const &conf)
   : distance(conf), b_anisotropic(false)   : distance(conf), b_anisotropic(false)
Line 448
Line 458
 #endif #endif
  
  
  
 void colvar::groupcoordnum::calc_value() void colvar::groupcoordnum::calc_value()
 { {
  
Line 460
Line 469
  
   x.real_value = coordnum::switching_function<false>(r0, en, ed,   x.real_value = coordnum::switching_function<false>(r0, en, ed,
                                                      group1_com_atom, group2_com_atom);                                                      group1_com_atom, group2_com_atom);
  
 } }
  
  
Line 486
Line 494
   if (!group2->noforce)   if (!group2->noforce)
     group2->apply_colvar_force(force.real_value);     group2->apply_colvar_force(force.real_value);
 } }
  
  
  simple_scalar_dist_functions(groupcoordnum)


Legend:
Removed in v.1.12 
changed lines
 Added in v.1.13



Made by using version 1.53 of cvs2html