Stellar structure (source code)

= Stellar structure
{wiki}

Stellar structure follows from mass conservation, hydrostatic equilibrium, energy generation, and energy transport together with an equation of state and opacity law.