[lammps-users] What is the use of single function

Dear Steav,

What is the use of single function in pair_dpd.cpp?

Prathyusha K.R.

Dear Steav,

What is the use of single function in pair_dpd.cpp?

as the name obviously implies and what one can
also see from just looking at the code, its purpose
is to calculate forces and energy of a single pair.

axel.

It's called a few places in the code, like by pair_write, to
compute the eng, forces of two particles interacting.

Steve