Every person having charge of any steam boiler, steam engine, or other apparatus for generating or employing steam, used in any manufactory, railroad, vessel, or other mechanical works, who willfully, or from ignorance or neglect, creates, or allows to be created, such an undue quantity of steam as to burst or break the boiler, engine, or apparatus, or to cause any other accident whereby the death of a human being is caused, is punishable by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code for two, three, or four years.