[Mesa-users] Trouble parsing custom opacities in MESA 15140
Josiah Schwab
jwschwab at ucsc.edu
Mon Aug 16 18:52:05 UTC 2021
Hi Tryston,
There seems to be a bug in how this new version of MESA parses the files in
> that it is expecting a consistent grid, of sorts.
>
As you discovered, the design of the kap module is such that you have to
provide a relatively structured grid, such that the locations of the X
points are the same for every Z, except for possible truncation due to the
constraint X + Z < 1.
There is no simple "fix" and I would not consider this a bug. You will
need to meet that constraint if you want to simply drop in a new set of
tables.
Two significantly more complex options are (a) modifying the way the kap
module stores and interpolates its tables or (b) writing your own kap
module equivalent and dispatching to it via the other_kap hook.
Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210816/4208f44d/attachment.htm>
More information about the Mesa-users
mailing list