I have found a bug in the KIM implementation for LAMMPS. When checking
my model driver I noticed that there is some inconsistency when using
CLUSTER mode in LAMMPS.
When using periodic boundary conditions then LAMMPS gives you wrong
forces and energies. For testing I used a configuration
with 8 atoms in a large simulation box.
Looking into this, I found out that LAMMPS actually passes 64 atoms to
my model and sets numberContributingParticles=8. This is actually not
supported by CLUSTER mode and all 64 atoms will contribute.
If you use non-periodic boundary conditions then everything is working
as expected.
I know that CLUSTER mode is not supposed to be used with PBC but I guess
this case should give at least a warning or even an error.
Best regards,
Daniel
Thanks for reporting the bug. We'll look into it...
Cheers,
Ryan Elliott
--
Ryan S. Elliott, Ph.D. and Associate Professor
Russell J. Penrose Faculty Fellow
Aerospace Engineering & Mechanics, University of Minnesota
(612) 624-2376 (626-1558 fax)
http://www.aem.umn.edu/~elliott/
download vCard <http://www.aem.umn.edu/~elliott/relliott.vcf>
KIM Editor (http://openKIM.org)
MSI Associate Fellow (http://msi.umn.edu)
CMT textbook webpage (http://modelingmaterials.org)
----------
The difference between genius and stupidity is that genius has its limits.
Albert Einstein
----------