Heating or cooling of the melt or the crystallised material