Solutions of the Einstein–Maxwell equations with energy–momentum tensor for polytropic core and linear envelope | Synapse