afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
Functions/Subroutines | Variables
m_table_data Module Reference

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.
 

Detailed Description

Module with settings and routines for tabulated data.

Function/Subroutine Documentation

◆ table_data_initialize()

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.

◆ table_from_file()

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.

◆ table_set_column()

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.

Parameters
[in,out]tblLookup table
[in]i_colIndex of column
[out]max_errEstimate of maximal error

Definition at line 82 of file m_table_data.f90.

Here is the call graph for this function:

Variable Documentation

◆ table_max_townsend

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.

◆ table_min_townsend

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.

◆ table_size

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.

◆ table_xspacing

integer, public, protected m_table_data::table_xspacing = -1

X-spacing for lookup table.

Definition at line 30 of file m_table_data.f90.