Agreement between the gelation and molecular dynamics models of the hydrogen-bond network in water