MESA modules

These pages describe the MESA wrapper surface provided by pyfortmesa. They are not replacements for MESA's public module docs.

pyfortmesa is not a general MESA module reader. It wraps selected calls where a small Python interface is useful for repeated microphysics work. For general MESA module access, use pyMesa.

Active in the ./mk mesa build:

const -> scalar real constants from MESA const_def
chem  -> composition helpers
eos   -> density-temperature eos calls and rho/T inverse solves
kap   -> opacity calls using eos electron quantities and Type2 controls

Not wrapped by pyfortmesa:

net   -> reaction networks and one-zone burns
turb  -> turbulence helper routines

Module pages:

The useful static-composition path is:

composition -> chem -> eos -> kap
constants   -> const

For fast calls from inside a numerical solver where T, rho, and composition are already known, net is not part of the call path.

Each module page has a public API reference, output fields, source mapping, and a "Not included" table. Those omitted routines are left out deliberately when they are low-level handles, table loaders, hook systems, or specialized MESA internals without a current Python workflow.