![]() |
ORB5
v4.9.4
|
Module for reading the input file and filling data in globals.F90. More...
Functions/Subroutines | |
subroutine, public | open_input_file (nl_input_path, path_to_input) |
Prepare input file for reading and display its header. More... | |
subroutine, public | close_input_file |
Close input file. More... | |
subroutine, public | read_basic (part, nwarnings, nerrors) |
Initialize basic inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_equil (nwarnings, nerrors) |
Initialize equil inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_fields (nwarnings, nerrors) |
Initialize fields inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_parallel (nwarnings, nerrors) |
Initialize parallel inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_sorting (nwarnings, nerrors) |
Initialize sorting inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_solver (nwarnings, nerrors) |
Initialize solver inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_diag (nwarnings, nerrors) |
Initialize diag inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_islands (nwarnings, nerrors) |
Initialize islands inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_diagnostics (nwarnings, nerrors) |
Initialize diagnostics inputs, read namelist, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_antenna (nwarnings, nerrors) |
Initialize antenna inputs, read namelist, check consistency, display, write to HDF5 and export values to antenna module. More... | |
subroutine, public | read_species (nwarnings, nerrors) |
Initialize species inputs, read namelists, check consistency, display, write to HDF5 and export values to globals. More... | |
subroutine, public | read_collisions (nwarnings, nerrors) |
subroutine | check_namelist_read (status, in_unit, namelist_name) |
character(len=128) function | create_input_group (group_name) |
Return group path and create HDF5 group if needed. More... | |
subroutine | warning (msg, counter) |
Print warning message and increment counter. More... | |
subroutine | error (msg, counter) |
Print error message and increment counter. More... | |
Module for reading the input file and filling data in globals.F90.
subroutine readinput::check_namelist_read | ( | integer, intent(in) | status, |
integer, intent(in) | in_unit, | ||
character(len=*), intent(in) | namelist_name | ||
) |
subroutine, public readinput::close_input_file |
Close input file.
character(len=128) function readinput::create_input_group | ( | character(len=*), intent(in) | group_name | ) |
Return group path and create HDF5 group if needed.
[in] | group_name | HDF5 group name |
subroutine readinput::error | ( | character(len=*), intent(in) | msg, |
integer, intent(inout) | counter | ||
) |
Print error message and increment counter.
[in] | msg | Displayed message |
subroutine, public readinput::open_input_file | ( | logical, intent(in) | nl_input_path, |
character(len=*), intent(in) | path_to_input | ||
) |
Prepare input file for reading and display its header.
The routine will first look for an input file given in argument. If it is the case, it will copy it in the simulation folder under the name given by input_filname. It it is not the case, it will look for a file called input_filename in the simulation folder and abort the run if it is not present. In all cases, the routine will open the input file for future reading.
[in] | nl_input_path | If an input path is given in argument |
[in] | path_to_input | Path to input |
subroutine, public readinput::read_antenna | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize antenna inputs, read namelist, check consistency, display, write to HDF5 and export values to antenna module.
subroutine, public readinput::read_basic | ( | integer, intent(in) | part, |
integer, intent(inout) | nwarnings, | ||
integer, intent(inout) | nerrors | ||
) |
Initialize basic inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
[in] | part | 1 = initialize inputs, read namelist and check consistency 2 = display, write to HDF5 and export values to globals |
subroutine, public readinput::read_collisions | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
subroutine, public readinput::read_diag | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize diag inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_diagnostics | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize diagnostics inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_equil | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize equil inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_fields | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize fields inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_islands | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize islands inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_parallel | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize parallel inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_solver | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize solver inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_sorting | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize sorting inputs, read namelist, check consistency, display, write to HDF5 and export values to globals.
subroutine, public readinput::read_species | ( | integer, intent(inout) | nwarnings, |
integer, intent(inout) | nerrors | ||
) |
Initialize species inputs, read namelists, check consistency, display, write to HDF5 and export values to globals.
subroutine readinput::warning | ( | character(len=*), intent(in) | msg, |
integer, intent(inout) | counter | ||
) |
Print warning message and increment counter.
[in] | msg | Displayed message |
[in,out] | counter | Warning counter |