Called the induce real-space term before the kspace term
This commit is contained in:
@ -576,14 +576,14 @@ void PairAmoeba::ufield0c(double **field, double **fieldp)
|
||||
}
|
||||
}
|
||||
|
||||
// get the reciprocal space part of the mutual field
|
||||
|
||||
if (polar_kspace_flag) umutual1(field,fieldp);
|
||||
|
||||
// get the real space portion of the mutual field
|
||||
|
||||
if (polar_rspace_flag) umutual2b(field,fieldp);
|
||||
|
||||
// get the reciprocal space part of the mutual field
|
||||
|
||||
if (polar_kspace_flag) umutual1(field,fieldp);
|
||||
|
||||
// add the self-energy portion of the mutual field
|
||||
|
||||
term = (4.0/3.0) * aewald*aewald*aewald / MY_PIS;
|
||||
|
||||
Reference in New Issue
Block a user