|
MPI-AMRVAC
3.0
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
|
Go to the source code of this file.
Modules | |
| module | mod_opal_opacity |
| This module reads in opacities from opal tables. | |
Functions/Subroutines | |
| subroutine, public | mod_opal_opacity::init_opal (He_abundance, tablename) |
| This routine is called when the fld radiation module is initialised. Here, the tables for different He Abndcs are read and interpolated. More... | |
| subroutine, public | mod_opal_opacity::set_opal_opacity (rho, temp, kappa) |
| This subroutine calculates the opacity for a given temperature-density structure. The opacities are read from a table that has the initialised metalicity. More... | |
| subroutine | mod_opal_opacity::read_table (R, T, K, filename) |
| This routine reads out values and arguments from an opacity table. More... | |
| subroutine | mod_opal_opacity::interpolate_two_tables (Y1, Y2, Y_in, K1, K2, K_interp) |
| This subroutine creates a new table for a given He abundance,. More... | |
| subroutine | mod_opal_opacity::get_kappa (Kappa_vals, Log_R_list, Log_T_list, R, T, K) |
| This subroutine looks in the table for the four couples (T,R) More... | |
| subroutine | mod_opal_opacity::get_low_up_index (x, x_list, imin, imax, low_i, up_i) |
| this subroutine finds the indexes in R and T arrays of the two values surrounding the input R and T More... | |
| subroutine | mod_opal_opacity::interpolate_krt (low_r, up_r, low_t, up_t, Log_R_list, Log_T_list, Kappa_vals, R, T, k_interp) |
| This subroutine does a bilinear interpolation in the R,T-plane. More... | |
| subroutine | mod_opal_opacity::interpolate1d (x1, x2, x, y1, y2, y) |
| Interpolation in one dimension. More... | |
| subroutine | log_interpolate1d (x1, x2, x, y1, y2, y) |
| Interpolation on logarithmic scale. More... | |
Variables | |
| integer, parameter | mod_opal_opacity::rmin = 2 |
| min and max indices for R,T-range in opacity table More... | |
| integer, parameter | mod_opal_opacity::rmax = 20 |
| integer, parameter | mod_opal_opacity::tmin = 7 |
| integer, parameter | mod_opal_opacity::tmax = 76 |
| double precision, dimension(7:76, 2:20), public | mod_opal_opacity::kappa_vals |
| The opacity tables are read once and stored globally in Kappa_vals. More... | |
| double precision, dimension(7:76, 2:20), public | mod_opal_opacity::kappa_vals1 |
| double precision, dimension(7:76, 2:20), public | mod_opal_opacity::kappa_vals2 |
| double precision, dimension(2:20), public | mod_opal_opacity::log_r_list |
| double precision, dimension(7:76), public | mod_opal_opacity::log_t_list |
| character(255), public | mod_opal_opacity::amrvac_dir |
| character(255), public | mod_opal_opacity::fileplace |
| subroutine log_interpolate1d | ( | double precision, intent(in) | x1, |
| double precision, intent(in) | x2, | ||
| double precision, intent(in) | x, | ||
| double precision, intent(in) | y1, | ||
| double precision, intent(in) | y2, | ||
| double precision, intent(out) | y | ||
| ) |
Interpolation on logarithmic scale.
Definition at line 325 of file mod_opal_opacity.t.