[lammps-users] Question

Correct - that is not possible.

Steve

Correct - that is not possible.

but it might be made possible with a very simple hack.
try creating a file. pair_airebo2.h with the following content:

#ifdef PAIR_CLASS
PairStyle(airebo2,PairAIREBO)
#endif

and put this in your src/ directory and recompile.
this should give you the airebo pair style under
the names airebo and airebo2 and then pair hybrid
should be able to tell them apart.

this is untested, but so simple that it would be worth trying. :wink:

cheers,
   axel.

I don't think this will work. The problem is more conceptual
and applies to various many-body potentials, like the recent
Q about using Tersoff and EAM in pair hybrid mode.

Just consider 3-body interactions, though AIREBO has
up to 6-body interactions. If you have two atoms I,J in the CNT
and an atom K in the CNT and and atom M in the wall. You want
I-J-K to be computed one way, and I-J-M to be computed another.

But the pairwise neighbor lists which store I-J will not distinguish
between those. In other words the neighbor list for the CNT-wall
potential (airebo2 in Axel's suggestion) will have lots of
CNT atoms in it. There is nothing that
will prevent all the 3-body interactions (or 6-body) between just
the CNT atoms from being computed.

Steve