Controls input and output functions to and from main program.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | unit |
Index for file I/O. |
|||
integer, | public, | parameter | :: | stdout_unit | = | 6 |
Standard unit for I/O. |
integer, | public, | save | :: | input_unit_no |
Saved input unit for use with multiple read in calls. |
||
integer, | public, | save | :: | error_unit_no | = | stdout_unit |
Error output unit. |
Determine if a particular namelist already opened.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | nml |
Namelist to be opened. |
||
logical, | intent(out) | :: | exist |
Determination if namelist is open. |
I/O dummy indices.
Assigns input unit for namelist opening.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | nml |
Namelist string. |
I/O dummy indices.
Checks if double precision number input is NaN.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
double precision | :: | input |
Variable to be checked. |
Read in system parameters from *.in file. Only processor 0 calls this routine:
Reads in complex frequency map parameters.
Reads in initial guesses for dispersion solutions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ik |
Solution index. |
Subroutine for reading in species parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | is |
Species index. |
Reads in Polynomial Basis Function Parameters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | is |
Species index. |
Reads in bi-Maxwellian/cold-plasma parameters.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | is |
Species index. |
The most important subroutine. Reads in wavevector scan parameters. Defines scanner, which controls the behavior of the wavevector scan.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | is |
Scan index. |
Reads in fit parameters for component is.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | is |
Species index. |
||
integer, | intent(in) | :: | ifit |
Get runname for output files from input argument.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=500), | intent(out) | :: | runname |
Basename for file I/O. |
||
character(len=500), | intent(out) | :: | foldername |
Directory in which input file is stored. |
Subroutine for reading in background distribution function
Determines unused I/O unit.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | unit |
Unit to be defined. |
||
character(len=*), | intent(in) | :: | nml |
Character string for namelist to be read in. |
||
integer, | intent(in) | :: | index_in |
Index of namelist to be read in. |
A version of get_indexed_namelist_unit, extended to allow for double indexing in order to read in multiple fits for a single species.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | unit |
Unit to be defined. |
||
character(len=*), | intent(in) | :: | nml |
Character string for namelist to be read in. |
||
integer, | intent(in) | :: | spec_in |
First index of namelist to be read in. |
||
integer, | intent(in) | :: | index_in |
Second index of namelist to be read in. |
Determine unused number for I/O index.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | unit |
Unit to be assigned. |
Open a file for the error log.
Error catching subroutine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | error_id |
Index of error message. |
Outputs the date and time in a given format using intrinsic FORTRAN function.
Writes the opening credits.