git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13616 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -557,7 +557,7 @@ void PairTersoffTable::deallocateGrids()
|
||||
|
||||
void PairTersoffTable::allocateGrids(void)
|
||||
{
|
||||
int i, j, l;
|
||||
int i, j, k, l;
|
||||
|
||||
int numGridPointsExponential, numGridPointsGtetaFunction, numGridPointsOneCutoffFunction;
|
||||
int numGridPointsNotOneCutoffFunction, numGridPointsCutoffFunction, numGridPointsBetaZetaPower;
|
||||
@ -634,9 +634,9 @@ void PairTersoffTable::allocateGrids(void)
|
||||
zeta_max = MAX(zeta_max,numGridPointsBetaZetaPower);
|
||||
|
||||
for (j=0; j<nelements; j++) {
|
||||
for (j=0; j<nelements; j++) {
|
||||
for (k=0; k<nelements; k++) {
|
||||
|
||||
int ijparam = elem2param[i][j][j];
|
||||
int ijparam = elem2param[i][j][k];
|
||||
double cutoffR = params[ijparam].cutoffR;
|
||||
double cutoffS = params[ijparam].cutoffS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user