Domain decomposition applied to the thermal model of selective beam melting processes