number of hydrogen bonding

Dear LAMMPS users,

How can i count the number of HB bonds in water by lammps ?

I appreciate your help in advance.
Best,
saeed.

Assuming you mean OH pairs of atoms within a cutoff distance,
see the compute coord/atom command. Also read the NOTE
there about the special bonds command, and using the
rerun command to post-process a dump file.

Steve