© Charles Chandler
summarizes the various forms of analysis.
Properties per solar radius.
Also note that there is no reason to believe that all of the elements in the Sun are perfectly stratified according to density. There is plenty of mixing, especially in the convective zone.