[lammps-users] pair_style hybrid/overlay

Dear,

I want to give two atoms an attractive yukawa potential

but when I set a hybrid pair style, why does the following error appear?

pair_style hybrid/overlay lj/cut 2.5 coul/long 2.0 yukawa
ERROR: Illegal pair_style command

Is there other attractive potential of two macromolecule in LAMMPS,Thanks.

The yukawa pair style requires 2 arguments (kappa, cutoff). See the doc page.

Steve

2008/1/26 田文德 <[email protected]...>: