Skip to content
Snippets Groups Projects
Commit dd4f79e2 authored by athomps's avatar athomps
Browse files

Added rhomax assignment

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12624 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 0927e4d4
No related branches found
No related tags found
No related merge requests found
...@@ -220,6 +220,7 @@ void PairEAMAlloyOMP::file2array() ...@@ -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() ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment