afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
|
Module with settings and routines for tabulated data. More...
Functions/Subroutines | |
subroutine, public | table_data_initialize (cfg) |
Initialize this module. | |
subroutine, public | table_set_column (tbl, i_col, x, y, max_err) |
Interpolate data and store in lookup table. | |
subroutine, public | table_from_file (file_name, data_name, x_data, y_data) |
Routine to read in tabulated data from a file. | |
Variables | |
integer, public, protected | table_size = 1000 |
How large lookup tables should be. | |
real(dp), public, protected | table_min_townsend = 0.0 |
Minimum field (Td) for lookup tables. | |
real(dp), public, protected | table_max_townsend = -1.0_dp |
Maximum field (Td) for lookup tables. | |
integer, public, protected | table_xspacing = -1 |
X-spacing for lookup table. | |
Module with settings and routines for tabulated data.
subroutine, public m_table_data::table_data_initialize | ( | type(cfg_t), intent(inout) | cfg | ) |
Initialize this module.
Definition at line 40 of file m_table_data.f90.
subroutine, public m_table_data::table_from_file | ( | character(len=*), intent(in) | file_name, |
character(len=*), intent(in) | data_name, | ||
real(dp), dimension(:), intent(out), allocatable | x_data, | ||
real(dp), dimension(:), intent(out), allocatable | y_data ) |
Routine to read in tabulated data from a file.
Definition at line 121 of file m_table_data.f90.
subroutine, public m_table_data::table_set_column | ( | type(lt_t), intent(inout) | tbl, |
integer, intent(in) | i_col, | ||
real(dp), dimension(:), intent(in) | x, | ||
real(dp), dimension(:), intent(in) | y, | ||
real(dp), intent(out), optional | max_err ) |
Interpolate data and store in lookup table.
[in,out] | tbl | Lookup table |
[in] | i_col | Index of column |
[out] | max_err | Estimate of maximal error |
Definition at line 82 of file m_table_data.f90.
real(dp), public, protected m_table_data::table_max_townsend = -1.0_dp |
Maximum field (Td) for lookup tables.
Definition at line 18 of file m_table_data.f90.
real(dp), public, protected m_table_data::table_min_townsend = 0.0 |
Minimum field (Td) for lookup tables.
Definition at line 15 of file m_table_data.f90.
integer, public, protected m_table_data::table_size = 1000 |
How large lookup tables should be.
Definition at line 12 of file m_table_data.f90.
integer, public, protected m_table_data::table_xspacing = -1 |
X-spacing for lookup table.
Definition at line 30 of file m_table_data.f90.