[mesa-users] MESA opacity tables

Josiah Schwab jwschwab at berkeley.edu
Thu Mar 12 11:33:37 EDT 2015


Hi Dave,

> You can write a wrapper in Fortran and then call it from Python with
> f2py.

Do you know of (public) examples of people doing this for MESA modules?

Someone asked about an eos python module a while back.  No one mentioned
anything.

    http://sourceforge.net/p/mesa/mailman/message/30402556/

I needed some limited eos stuff a while back and after a couple hours of
fiddling found it easier to directly wrap one of Frank's codes.

    https://yoshiyahu.org/research/2014/06/05/python-bindings/

Josiah




More information about the Mesa-users mailing list