add call to KSpace::two_charge() that was overlooked

This commit is contained in:
Axel Kohlmeyer
2020-01-22 14:46:57 -05:00
parent 48cae2703b
commit bb024bc077

View File

@ -178,6 +178,12 @@ void EwaldDisp::init()
if (!function[1] && !function[2]) dispersionflag = 0;
if (!function[3]) dipoleflag = 0;
// compute two charge force
two_charge();
// extract short-range Coulombic cutoff from pair style
pair_check();
// set accuracy (force units) from accuracy_relative or accuracy_absolute