[mesa-users] Opacity Type I in the envelope and Type II in the core

Josiah Schwab jwschwab at berkeley.edu
Thu Jul 23 05:50:20 EDT 2015


Hi Ehsan,

>> kap_type2_logT_lower_bdy

> Would you please elaborate more what is not reported accurately? And,
> what fix your patch brings in?

I believe the value of kap_type2_frac in the profile file will continue
be reported as 1 even in regions where logT < kap_type2_logT_lower_bdy,
and hence where MESA has switched back to Type 1.

This is because the kap_type2_logT_lower_bdy blend happens in
private/kap_eval.f90 rather than public/kap_lib.f90 and as a result the
true frac_type2 value doesn't make it into the profile.

Josiah




More information about the Mesa-users mailing list