neighbor list skin is added to custom cutoff automatically
This commit is contained in:
@ -596,7 +596,7 @@ void PairKIM::init_style()
|
|||||||
if (kim_cutoff_values[i] <= neighbor->skin)
|
if (kim_cutoff_values[i] <= neighbor->skin)
|
||||||
error->all(FLERR,"Illegal neighbor request (force cutoff {:.3} <= skin {:.3})",
|
error->all(FLERR,"Illegal neighbor request (force cutoff {:.3} <= skin {:.3})",
|
||||||
kim_cutoff_values[i], neighbor->skin);
|
kim_cutoff_values[i], neighbor->skin);
|
||||||
req->set_cutoff(kim_cutoff_values[i] + neighbor->skin);
|
req->set_cutoff(kim_cutoff_values[i]);
|
||||||
}
|
}
|
||||||
// increment instance_me in case of need to change the neighbor list
|
// increment instance_me in case of need to change the neighbor list
|
||||||
// request settings
|
// request settings
|
||||||
|
|||||||
Reference in New Issue
Block a user