Difference for src/PmeKSpace.C from version 1.20 to 1.21

version 1.20version 1.21
Line 315
Line 315
     return energy;     return energy;
 } }
  
 double PmeKSpace::compute_energy(float *q_arr, const Lattice &lattice, double ewald, double *virial) { double PmeKSpace::compute_energy(float *q_arr, const Lattice &lattice, double ewald, double *virial, int useCkLoop) {
   double energy = 0.0;   double energy = 0.0;
   double v0 = 0.;   double v0 = 0.;
   double v1 = 0.;   double v1 = 0.;
Line 338
Line 338
   // if ( 0 ) { // JCP FOR TESTING   // if ( 0 ) { // JCP FOR TESTING
     //This branch is the usual call path.     //This branch is the usual call path.
 #if     CMK_SMP && USE_CKLOOP #if     CMK_SMP && USE_CKLOOP
     int useCkLoop = Node::Object()->simParameters->useCkLoop;     if ( useCkLoop ) {
     if(useCkLoop>=CKLOOP_CTRL_PME_KSPACE){ 
         return compute_energy_orthogonal_helper(q_arr, lattice, ewald, virial);         return compute_energy_orthogonal_helper(q_arr, lattice, ewald, virial);
     }     }
 #endif     #endif    


Legend:
Removed in v.1.20 
changed lines
 Added in v.1.21



Made by using version 1.53 of cvs2html