MOM6
MOM_file_parser.F90 File Reference
#include "version_variable.h"
Include dependency graph for MOM_file_parser.F90:

Go to the source code of this file.

Data Types

type  mom_file_parser::file_data_type
 
type  mom_file_parser::link_parameter
 
type  mom_file_parser::parameter_block
 
type  mom_file_parser::param_file_type
 
interface  mom_file_parser::read_param
 
interface  mom_file_parser::log_param
 
interface  mom_file_parser::get_param
 
interface  mom_file_parser::log_version
 

Modules

module  mom_file_parser
 

Functions/Subroutines

subroutine, public mom_file_parser::open_param_file (filename, CS, checkable, component, doc_file_dir)
 
subroutine, public mom_file_parser::close_param_file (CS, quiet_close, component)
 
subroutine mom_file_parser::populate_param_data (iounit, filename, param_data)
 
logical function mom_file_parser::openmultilinecomment (string)
 
logical function mom_file_parser::closemultilinecomment (string)
 
integer function mom_file_parser::lastnoncommentindex (string)
 
integer function mom_file_parser::lastnoncommentnonblank (string)
 
character(len=len(string)) function mom_file_parser::replacetabs (string)
 
character(len=len(string)) function mom_file_parser::removecomments (string)
 
character(len=len(string)+16) function mom_file_parser::simplifywhitespace (string)
 
subroutine mom_file_parser::read_param_int (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_int_array (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_real (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_real_array (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_char (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_char_array (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_logical (CS, varname, value, fail_if_missing)
 
subroutine mom_file_parser::read_param_time (CS, varname, value, timeunit, fail_if_missing, date_format)
 
character(len=input_str_length) function mom_file_parser::strip_quotes (val_str)
 
subroutine mom_file_parser::get_variable_line (CS, varname, found, defined, value_string, paramIsLogical)
 
subroutine mom_file_parser::flag_line_as_read (line_used, count)
 
logical function mom_file_parser::overridewarninghasbeenissued (chain, varName)
 
subroutine mom_file_parser::log_version_cs (CS, modulename, version, desc)
 Log the version of a module to a log file and/or stdout, and/or to the parameter documentation file. More...
 
subroutine mom_file_parser::log_version_plain (modulename, version)
 Log the version of a module to a log file and/or stdout. More...
 
subroutine mom_file_parser::log_param_int (CS, modulename, varname, value, desc, units, default, layoutParam)
 
subroutine mom_file_parser::log_param_int_array (CS, modulename, varname, value, desc, units, default, layoutParam)
 
subroutine mom_file_parser::log_param_real (CS, modulename, varname, value, desc, units, default)
 
subroutine mom_file_parser::log_param_real_array (CS, modulename, varname, value, desc, units, default)
 
subroutine mom_file_parser::log_param_logical (CS, modulename, varname, value, desc, units, default, layoutParam)
 
subroutine mom_file_parser::log_param_char (CS, modulename, varname, value, desc, units, default, layoutParam)
 
subroutine mom_file_parser::log_param_time (CS, modulename, varname, value, desc, units, default, timeunit, layoutParam, log_date)
 This subroutine writes the value of a time-type parameter to a log file, along with its name and the module it came from. More...
 
character(len=40) function mom_file_parser::convert_date_to_string (date)
 This function converts a date into a string, valid with ticks and for dates up to year 99,999,999. More...
 
subroutine mom_file_parser::get_param_int (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam)
 
subroutine mom_file_parser::get_param_int_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam)
 
subroutine mom_file_parser::get_param_real (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value)
 
subroutine mom_file_parser::get_param_real_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value)
 
subroutine mom_file_parser::get_param_char (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam)
 
subroutine mom_file_parser::get_param_char_array (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value)
 
subroutine mom_file_parser::get_param_logical (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, static_value, layoutParam)
 
subroutine mom_file_parser::get_param_time (CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, timeunit, static_value, layoutParam, log_as_date)
 
subroutine, public mom_file_parser::clearparameterblock (CS)
 
subroutine, public mom_file_parser::openparameterblock (CS, blockName, desc)
 
subroutine, public mom_file_parser::closeparameterblock (CS)
 
character(len=len(oldblockname)+40) function mom_file_parser::pushblocklevel (oldblockName, newBlockName)
 
character(len=len(oldblockname)+40) function mom_file_parser::popblocklevel (oldblockName)
 

Variables

integer, parameter, public mom_file_parser::max_param_files = 5
 
integer, parameter mom_file_parser::input_str_length = 200
 
integer, parameter mom_file_parser::filename_length = 200
 
logical mom_file_parser::all_pes_read = .false.
 
logical, parameter mom_file_parser::report_unused_default = .false.
 
logical, parameter mom_file_parser::unused_params_fatal_default = .false.
 
logical, parameter mom_file_parser::log_to_stdout_default = .false.
 
logical, parameter mom_file_parser::complete_doc_default = .true.
 
logical, parameter mom_file_parser::minimal_doc_default = .true.