forked from lijiext/lammps
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:
parent
0927e4d401
commit
dd4f79e2b8
|
@ -220,6 +220,7 @@ void PairEAMAlloyOMP::file2array()
|
||||||
nr = setfl->nr;
|
nr = setfl->nr;
|
||||||
drho = setfl->drho;
|
drho = setfl->drho;
|
||||||
dr = setfl->dr;
|
dr = setfl->dr;
|
||||||
|
rhomax = (nrho-1) * drho;
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
// setup frho arrays
|
// setup frho arrays
|
||||||
|
|
|
@ -225,6 +225,7 @@ void PairEAMFSOMP::file2array()
|
||||||
nr = fs->nr;
|
nr = fs->nr;
|
||||||
drho = fs->drho;
|
drho = fs->drho;
|
||||||
dr = fs->dr;
|
dr = fs->dr;
|
||||||
|
rhomax = (nrho-1) * drho;
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
// setup frho arrays
|
// setup frho arrays
|
||||||
|
|
Loading…
Reference in New Issue