pair_style hybrid

I want to develop a system consisting of some nanoparticles in a polymer melt. There will be an interaction between nanoparticle-polymer,nanoparticle-nanopsarticle all lj interactions. So i am writing this :
pair_style hybrid lj/cut 5.61231 lj/cut 7.5
pair_coeff 2 2 lj/cut 1.0 5.0 5.61231
pair_coeff 1 2 lj/cut 1.0 3.0 7.5

where polymwer is type 1 atom and nanoparticle is type 2

it shows an error:
Expected integer parameter in input script or data file (…/pair_hybrid.cpp:339)

Please help!

I want to develop a system consisting of some nanoparticles in a polymer
melt. There will be an interaction between
nanoparticle-polymer,nanoparticle-nanopsarticle all lj interactions. So i am
writing this :
pair_style hybrid lj/cut 5.61231 lj/cut 7.5
pair_coeff 2 2 lj/cut 1.0 5.0 5.61231
pair_coeff 1 2 lj/cut 1.0 3.0 7.5
where polymwer is type 1 atom and nanoparticle is type 2
it shows an error:
Expected integer parameter in input script or data file
(../pair_hybrid.cpp:339)
Please help!

please read the documentation. if you have a hybrid pair style with
two identical pair styles, you have to tell the pair coeff command,
which coeff is meant to be used with which.

on top of that, you don't need to use hybrid for this kind of system,
just use regular lj/cut and set the cutoffs per pair.

axel.