Dependence of switching time on temperature, applied field, and material parameters