Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I found that there was a typo in the list of solar metallicity table:
"Ca": [9, 6.30, 0.03, 6.29, 0.03],
should be
"Ca": [6.30, 0.03, 6.29, 0.03],
in
zsol.nsol
.Using the previous version, solar abundance, X, Y, Z becomes
X=0.7224801448031526 Y=0.2353605357014889 Z=0.04215931949535849
This was very high metallicity (Z=0.04)!
The correct one provides
0.7438051457070488 0.24230752749452047 0.013887326798430723
Z=0.0139
is correct. See Table 4 in https://arxiv.org/pdf/2105.01661Unless you are using
zsol.nsol()
, this bug does not affect your results.Sorry for this mistake.
Also, added a new method for computing X, Y, Z
zsol.mass_fraction_XYZ(number_ratio_elements)