Underwater bubble collapse on a ridge-patterned structure