decomposition of energy

Dear users,

Does anybody know any fix which will calculate the interaction energy between two species of atoms(say A and B) in the simulation on the fly? Any suggestions and comments will be highly appreciated. Thanks in advance.

Kind regards

Maybe compute group/group does what you want?