Numerical aspects of parabolic free boundary and hysteresis problems