How to assign values to specific group of atoms

Dear Lammps users

I want to define a vector variable which gives two numbers to two different groups of atoms. There is atom style which can give values to all atoms not to specified group of atoms. I will appreciate if anybody let me know how to do it?

Thanks,
Hasan

Dear Lammps users
I want to define a vector variable which gives two numbers to two different
groups of atoms. There is atom style which can give values to all atoms not
to specified group of atoms. I will appreciate if anybody let me know how
to do it?

please reformulate your question.
it is not clear at all what you want to do.

what "numbers" for what purpose do you want to "give"
to atoms and what are they supposed to do with it?

have you checked out the "set" command,
it _can_ operate on groups.

cheers,
   axel.