Layer-to-layer closed-loop switched heating and cooling control of the laser powder bed fusion process | Synapse