Added rhomax assignment

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12624 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2014-10-08 21:16:40 +00:00
parent 0927e4d401
commit dd4f79e2b8
2 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void PairEAMAlloyOMP::file2array()
nr = setfl->nr;
drho = setfl->drho;
dr = setfl->dr;
rhomax = (nrho-1) * drho;
// ------------------------------------------------------------------
// setup frho arrays

View File

@ -225,6 +225,7 @@ void PairEAMFSOMP::file2array()
nr = fs->nr;
drho = fs->drho;
dr = fs->dr;
rhomax = (nrho-1) * drho;
// ------------------------------------------------------------------
// setup frho arrays