forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7631 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2e514cd513
commit
915cd9188e
|
@ -400,14 +400,16 @@ int PairKIM::get_neigh(void **kimmdl,int *mode,int *request,
|
|||
*pRij=&Rij[0];
|
||||
|
||||
KIM_API_model *pkim = (KIM_API_model *) *kimmdl;
|
||||
|
||||
//get neighObj from KIM API obj
|
||||
if (key1strun) { //this block will be changed in case of hybride/composite KIM potential
|
||||
//this block will be changed in case of hybride/composite KIM potential
|
||||
|
||||
if (key1strun) {
|
||||
int kimerr;
|
||||
|
||||
neighObject_ind = pkim->get_index((char*) "neighObject",&kimerr);
|
||||
self->kim_error(__LINE__,"get_neigh:get_index of : neighObject",kimerr);
|
||||
|
||||
|
||||
NeighList * neiobj = (NeighList * ) (*pkim)[neighObject_ind].data;
|
||||
|
||||
numberOfAtoms_ind= pkim->get_index((char *) "numberOfAtoms",&kimerr);
|
||||
|
|
Loading…
Reference in New Issue