MOM6
|
An overloaded interface to read various types of parameters.
Definition at line 90 of file MOM_file_parser.F90.
Private functions | |
subroutine | read_param_int (CS, varname, value, fail_if_missing) |
This subroutine reads the value of an integer model parameter from a parameter file. More... | |
subroutine | read_param_real (CS, varname, value, fail_if_missing, scale) |
This subroutine reads the value of a real model parameter from a parameter file. More... | |
subroutine | read_param_logical (CS, varname, value, fail_if_missing) |
This subroutine reads the value of a logical model parameter from a parameter file. More... | |
subroutine | read_param_char (CS, varname, value, fail_if_missing) |
This subroutine reads the value of a character string model parameter from a parameter file. More... | |
subroutine | read_param_char_array (CS, varname, value, fail_if_missing) |
This subroutine reads the values of an array of character string model parameters from a parameter file. More... | |
subroutine | read_param_time (CS, varname, value, timeunit, fail_if_missing, date_format) |
This subroutine reads the value of a time_type model parameter from a parameter file. More... | |
subroutine | read_param_int_array (CS, varname, value, fail_if_missing) |
This subroutine reads the values of an array of integer model parameters from a parameter file. More... | |
subroutine | read_param_real_array (CS, varname, value, fail_if_missing, scale) |
This subroutine reads the values of an array of real model parameters from a parameter file. More... | |
|
private |
This subroutine reads the value of a character string model parameter from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
Definition at line 711 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of character string model parameters from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
Definition at line 734 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of an integer model parameter from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
Definition at line 572 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of integer model parameters from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
Definition at line 604 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a logical model parameter from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
Definition at line 772 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a real model parameter from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | scale | A scaling factor that the parameter is multiplied by before it is returned. |
Definition at line 637 of file MOM_file_parser.F90.
|
private |
This subroutine reads the values of an array of real model parameters from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[in] | scale | A scaling factor that the parameter is multiplied by before it is returned. |
Definition at line 673 of file MOM_file_parser.F90.
|
private |
This subroutine reads the value of a time_type model parameter from a parameter file.
[in] | cs | The control structure for the file_parser module, it is also a structure to parse for run-time parameters |
[in] | varname | The case-sensitive name of the parameter to read |
[in,out] | value | The value of the parameter that may be read from the parameter file |
[in] | timeunit | The number of seconds in a time unit for real-number input. |
[in] | fail_if_missing | If present and true, a fatal error occurs if this variable is not found in the parameter file |
[out] | date_format | If present, this indicates whether this parameter was read in a date format, so that it can later be logged in the same format. |
Definition at line 795 of file MOM_file_parser.F90.