Dear LAMMPS users,
I followed your advice and I created a new pair_style. In my case, I have called it yukawa_kappa, where the previously defined kappa variable has been renamed kappa_global, so I now have a kappa[i][j] array. I think I have done all the modifications correctly because when I run make serial -j4 everything works. However, when I do lmp_serial < in.input I get the following error:
ERROR: Unknown pair style yukawa_kappa (…/force.cpp:246)
Last command: pair_style yukawa_kappa 2.0 4.0
What am I missing?
Thank you so much for your time.
The best,
José Ruiz-Franco.
Dear LAMMPS users,
I followed your advice and I created a new pair_style. In my case, I have called it yukawa_kappa, where the previously defined kappa variable has been renamed kappa_global, so I now have a kappa[i][j] array. I think I have done all the modifications correctly because when I run make serial -j4 everything works. However, when I do lmp_serial < in.input I get the following error:
ERROR: Unknown pair style yukawa_kappa (../force.cpp:246)
Last command: pair_style yukawa_kappa 2.0 4.0
What am I missing?
impossible to say from remote without more specific information.
where did you put the new/modified files? what is the output of "make ps"?
also, we'd need to see the contents of the new/modified .h file.
axel.