MHD, PMHD and HD CODE WITH PHOTOINOIZATION