Hi folks,
I have read the source codes of coul_long_soft, adapt_fep, and pppm (which is mostly similar to ewald).
I realized that when a user employs a soft core pair potential with a long-range solver and tries to adapt/fep electrostatic interactions, kspace is not updated unless the user specifically calls for its update with lambda or instead of using a long-range soft core pair potential, scale atom charges.
In the coul_long_soft source code, it looks like real space is softened, while kspace is treated as a full interaction. Also, in the adapt_fep source code, it clearly says when atom charges are scaled, coul and kspace are both again calculated to follow electroneutrality. If that is true, when the atom charges are not scaled, then we have to update kspace using “kspace v_lambda” along with a long-range soft core pair potential (coul/long/soft or lj/cut/coul/long/soft or …)
Is this understanding from the source code correct?