Gradient models of moving heat sources for powder bed fusion applications