[mesa-users] use mass fractions in neu.f

Giannotti, Maurizio MGiannotti at mail.barry.edu
Mon Sep 5 14:05:10 EDT 2011


I am trying to add a few lines to neu.f (in mesa/neu/private) and I need to know the values of the hydrogen, helium, carbon and oxygen  mass fraction. More specifically, I need to calculate

y_e+\sum z_j^2 y_j

where y_e and y_j are the number fractions per baryon of electrons and nuclei. From neu.f I can access directly only y_e.

What should I do (or where should i look)?

Thank you very much,

Maurizio Giannotti,
Assistant Professor of Physics,
Physical Sciences, Barry University,
11300 NE 2nd Ave., Miami Shores, FL 33161
mgiannotti at mail.barry.edu<mailto:mgiannotti at mail.barry.edu>
305-899-4565 (office), 305-899-3479 (fax)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20110905/bab05f4c/attachment.html>

More information about the Mesa-users mailing list