Go to the source code of this file.
|
module | mod_opal_opacity |
| This module reads in Rosseland-mean opacities from OPAL tables. Table opacity values are given in base 10 logarithm and are a function of mass density (R) and temperature (T), which are also both given in base 10 logarithm.
|
|
|
subroutine, public | mod_opal_opacity::init_opal_table (tabledir, set_custom_tabledir) |
| This subroutine is called when the FLD radiation module is initialised. The OPAL tables for different helium abundances are read and interpolated.
|
|
subroutine, public | mod_opal_opacity::set_opal_opacity (rho, temp, kappa) |
| This subroutine calculates the opacity for a given temperature-density structure. Opacities are read from a table with given metalicity.
|
|