obtain coulomb potential for subgroup only instead of the whole system

For compute group/group, there is a “kspace” keyword that you can set to “yes” to include long-range Coulombic interactions. See http://lammps.sandia.gov/doc/compute_group_group.html

Stan