Fetch contact force per atom

Hello everyone,

I want to create a new fix, in which I need to know the maximum contact force of every atom. However, how can I get all the contact force of an atom in a fix cpp file?

Fan

compute pair/local command — LAMMPS documentation ?