Model Extended KIM ID = === Verification check vc-periodicity-support start (2022-11-08 16:22:15) === !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-periodicity-support !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model supports periodic boundary conditions correctly. If the simulation box is increased by an integer factor along a periodic direction, the total energy must multiply by that factor and the forces on atoms that are periodic copies of each other must be the same. The check is performed for a randomly distorted non-periodic face-centered cubic (FCC) cube base structure. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. For each configuration, all possible combinations of periodic boundary conditions are tested: TFF, FTF, FFT, TTF, TFT, TTF, TTT (where 'T' indicates periodicity along a direction, and 'F' indicates no periodicity). The verification check passes if the energy of all configurations that the model is able to compute support all periodic boundary conditions correctly. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor ------------------------------------------------------------------------------------------------------------------------ Results for KIM Model : MEAM_LAMMPS_KimLeeBaskes_2006_Zr__MO_392493010449_000 Supported species : Zr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 1 ------------------------------------------------------------------------------------------------------------------------ MONOATOMIC STRUCTURE -- Species = Zr, PBC = TTT (Configuration in file "config-Zr-TTT.xyz") ------------------------------------------------------------------------------------------------------------------------ The system is doubled in p=3 periodic directions, which means an increase by a factor n=2^3=8 in the number of atoms and in the energy. Energy requirement: V(DBL_p(r_1,...,r_N)) = (2^p) V(r_1,...,r_N), where r_i is the position of atom i, V is the potential energy, and DBL_p is an operator that doubles the configuration in p periodic directions. V(DBL_p(r_1,...,r_N)) = 510.14184938386376 2^p V(r_1,...,r_N) = 510.141849383864 Forces requirement: f_k(DBL_p(r_1,...,r_N)) = f_(k % N)(r_1,...,r_N), where r_i is the position of atom i, f_k is the force on atom k (where k runs from 1 to the number of atoms in the doubled configuration), DBL_p doubles the configuration in p periodic directions, N is the number of atoms in the original configuration, and % is the modulo operator. k f_k(DBL_p(r_1,...,r_N)) f_(k % N)(r_1,...,r_N) ------------------------------------------------------------------------------------------------------------------------ 0 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 1 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 2 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 3 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 4 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 5 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 6 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 7 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 8 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 9 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 10 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 11 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 12 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 13 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 14 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 15 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 16 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 17 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 18 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 19 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 20 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 21 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 22 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 23 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 24 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 25 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 26 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 27 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 28 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 | 9.92231647e+00 -1.18549068e+01 -2.30211204e+00 29 -1.52888225e+01 1.31463056e+01 3.09816376e+00 | -1.52888225e+01 1.31463056e+01 3.09816376e+00 30 -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 | -3.51648551e+00 -7.63804197e+00 -5.21074542e+00 31 8.88299156e+00 6.34664317e+00 4.41469371e+00 | 8.88299156e+00 6.34664317e+00 4.41469371e+00 ------------------------------------------------------------------------------------------------------------------------ PASS: Energies and forces are the same to within a relative error of 1e-08 ------------------------------------------------------------------------------------------------------------------------ ERROR: Unable to perform verification check. Message = Calling kimpy function "create" failed: Unable to create a new KIM-API Model object! === Verification check vc-periodicity-support end (2022-11-08 16:22:16) ===