Explosion of red-supergiant stars: Influence of the atmospheric structure on shock breakout and early-time supernova radiation | Synapse