Difference for src/PmeKSpace.C from version 1.22 to 1.23

version 1.22version 1.23
Line 267
Line 267
  
     double recips[] = {recipx, recipy, recipz};     double recips[] = {recipx, recipy, recipz};
     int NPARTS=CmiMyNodeSize(); //this controls the granularity of loop parallelism     int NPARTS=CmiMyNodeSize(); //this controls the granularity of loop parallelism
      int maxParts = ( K1 * ( k2_end - k2_start ) * ( k3_end - k3_start ) + 127 ) / 128;
      if ( NPARTS >  maxParts ) NPARTS = maxParts;
     if ( NPARTS >  K1 ) NPARTS = K1;      if ( NPARTS >  K1 ) NPARTS = K1; 
     ALLOCA(double, partialEnergy, NPARTS);     ALLOCA(double, partialEnergy, NPARTS);
     ALLOCA(double, partialVirial, 6*NPARTS);     ALLOCA(double, partialVirial, 6*NPARTS);


Legend:
Removed in v.1.22 
changed lines
 Added in v.1.23



Made by using version 1.53 of cvs2html