MOM_file_parser module reference
The MOM6 facility to parse input files for runtime parameters
Data Types
@} |
|
The valid lines extracted from an input parameter file without comments |
|
A link in the list of variables that have already had override warnings issued |
|
Specify the active parameter block |
|
A structure that can be parsed to read and document run-time parameters. |
Generic Interfaces
An overloaded interface to read various types of parameters |
|
An overloaded interface to log the values of various types of parameters |
|
An overloaded interface to read and log the values of various types of parameters |
|
An overloaded interface to log version information about modules |
Functions/Subroutines
Make the contents of a parameter input file available in a param_file_type |
|
Close any open input files and deallocate memory associated with this param_file_type. To use this type again, open_param_file would have to be called again. |
|
Read the contents of a parameter input file, and store the contents in a file_data_type after removing comments and simplifying white space |
|
Return True if a /* appears on this line without a closing */ |
|
Return True if a */ appears on this line |
|
Find position of last character before any comments, As marked by "!", "//", or "/*" following F90, C++, or C syntax |
|
Find position of last non-blank character before any comments |
|
Returns a string with tabs replaced by a blank |
|
Trims comments and leading blanks from string |
|
Constructs a string with all repeated white space replaced with single blanks and insert white space where it helps delineate tokens (e.g. around =) |
|
This subroutine reads the value of an integer model parameter from a parameter file. |
|
This subroutine reads the values of an array of integer model parameters from a parameter file. |
|
This subroutine reads the value of a real model parameter from a parameter file. |
|
This subroutine reads the values of an array of real model parameters from a parameter file. |
|
This subroutine reads the value of a character string model parameter from a parameter file. |
|
This subroutine reads the values of an array of character string model parameters from a parameter file. |
|
This subroutine reads the value of a logical model parameter from a parameter file. |
|
This subroutine reads the value of a time_type model parameter from a parameter file. |
|
This function removes single and double quotes from a character string |
|
This function returns the maximum number of characters in any input lines after they have been combined by any line continuation. |
|
This subroutine extracts the contents of lines in the param_file_type that refer to a named parameter. The value_string that is returned must be interpreted in a way that depends on the type of this variable. |
|
Record that a line has been used to set a parameter |
|
Returns true if an override warning has been issued for the variable varName |
|
Log the version of a module to a log file and/or stdout, and/or to the parameter documentation file. |
|
Log the version of a module to a log file and/or stdout. |
|
Log the name and value of an integer model parameter in documentation files. |
|
Log the name and values of an array of integer model parameter in documentation files. |
|
Log the name and value of a real model parameter in documentation files. |
|
Log the name and values of an array of real model parameter in documentation files. |
|
Log the name and value of a logical model parameter in documentation files. |
|
Log the name and value of a character string model parameter in documentation files. |
|
This subroutine writes the value of a time-type parameter to a log file, along with its name and the module it came from. |
|
This function converts a date into a string, valid with ticks and for dates up to year 99,999,999 |
|
This subroutine reads the value of an integer model parameter from a parameter file and logs it in documentation files. |
|
This subroutine reads the values of an array of integer model parameters from a parameter file and logs them in documentation files. |
|
This subroutine reads the value of a real model parameter from a parameter file and logs it in documentation files. |
|
This subroutine reads the values of an array of real model parameters from a parameter file and logs them in documentation files. |
|
This subroutine reads the value of a character string model parameter from a parameter file and logs it in documentation files. |
|
This subroutine reads the values of an array of character string model parameters from a parameter file and logs them in documentation files. |
|
This subroutine reads the value of a logical model parameter from a parameter file and logs it in documentation files. |
|
This subroutine reads the value of a time-type model parameter from a parameter file and logs it in documentation files. |
|
Issue error messages or warnings about the use of an archaic parameter name. |
|
Resets the parameter block name to blank |
|
Tags blockName onto the end of the active parameter block name |
|
Remove the lowest level of recursion from the active block name |
|
Extends block name (deeper level of parameter block) |
|
Truncates block name (shallower level of parameter block) |
Detailed Description
By Robert Hallberg and Alistair Adcroft, updated 9/2013.
The subroutines here parse a set of input files for the value a named parameter and sets that parameter at run time. Currently these files use use one of several formats: #define VAR ! To set the logical VAR to true. VAR = True ! To set the logical VAR to true. #undef VAR ! To set the logical VAR to false. VAR = False ! To set the logical VAR to false. #define VAR 999 ! To set the real or integer VAR to 999. VAR = 999 ! To set the real or integer VAR to 999. #override VAR = 888 ! To override a previously set value. VAR = 1.1, 2.2, 3.3 ! To set an array of real values.
In addition, when set by the get_param interface, the values of parameters are automatically logged, along with defaults, units, and a description. It is an error for a variable to be overridden more than once, and MOM6 has a facility to check for unused lines to set variables, which may indicate miss-spelled or archaic parameters. Parameter names are case-specific, and lines may use a F90 or C++ style comment, starting with ! or //.
Type Documentation
- type, private :: file_line_type
@}
A simple type to allow lines in an array to be allocated with variable sizes.
- Parameters
line
An allocatable line with content
- type, private :: file_data_type
The valid lines extracted from an input parameter file without comments
- Parameters
num_lines
The number of lines in this type
fln
Lines with the input content.
line_used
If true, the line has been read
- type, private :: link_parameter
A link in the list of variables that have already had override warnings issued
- Parameters
next
Facilitates linked list
name
Parameter name
hasIssuedOverrideWarning
Has a default value
- type, private :: parameter_block
Specify the active parameter block
- Parameters
name
The active parameter block name
log_access
Log the entry and exit of the block (but not its contents)
- type, public :: param_file_type
A structure that can be parsed to read and document run-time parameters.
- Parameters
nfiles
The number of open files.
iounit
The unit numbers of open files.
filename
The names of the open files.
NetCDF_file
If true, the input file is in NetCDF.
param_data
Structures that contain the valid data lines from the parameter files, enabling all subsequent reads of parameter data to occur internally.
report_unused
If true, report any parameter lines that are not used in the run.
unused_params_fatal
If true, kill the run if there are any unused parameters.
log_to_stdout
If true, all log messages are also sent to stdout.
log_open
True if the log file has been opened.
max_line_len
The maximum number of characters in the lines in any of the files in this param_file_type after any continued lines have been combined.
stdout
The unit number from stdout().
stdlog
The unit number from stdlog().
doc_file
A file where all run-time parameters, their settings and defaults are documented.
complete_doc
If true, document all run-time parameters.
minimal_doc
If true, document only those run-time parameters that differ from defaults.
doc
A structure that contains information related to parameter documentation.
chain
Facilitates linked list
blockName
Name of active parameter block
Generic Interface Documentation
- interface read_param
An overloaded interface to read various types of parameters
Callers call graph
Text view
mom::initialize_mom → mom_file_parser::interface::read_param
mom_controlled_forcing::register_ctrl_forcing_restarts → mom_file_parser::interface::read_param
mom_diabatic_driver::register_diabatic_restarts → mom_file_parser::interface::read_param
mom_file_parser::open_param_file → mom_file_parser::interface::read_param
mom_file_parser_tests::test_log_param_time → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_assign_after_override → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_assign_in_define → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_assign_repeat → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_assign_twice → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_block → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_block_outside_block → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_apostrophe_delim → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_array → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_array_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_no_delim → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_char_quote_delim → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_define → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_define_as_flag → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_array → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_array_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_array_type_err → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_array_undefined → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_type_err → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_int_undefined → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_logical → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_logical_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_multiline_param → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_null_stmt → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_override → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_override_no_def → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_override_repeat → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_override_twice → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_override_warn_chain → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_pad_equals → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_array → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_array_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_array_type_err → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_array_undefined → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_type_err → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_real_undefined → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_replace_tabs → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_bad_tuple → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_bad_tuple_values → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_date → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_date_bad_format → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_missing → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_tuple → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_type_err → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_undefined → mom_file_parser::interface::read_param
mom_file_parser_tests::test_read_param_time_unit → mom_file_parser::interface::read_param
mom_int_tide_input::int_tide_input_init → mom_file_parser::interface::read_param
mom_internal_tides::internal_tides_init → mom_file_parser::interface::read_param
mom_meke::meke_alloc_register_restart → mom_file_parser::interface::read_param
mom_meke::ml_meke_init → mom_file_parser::interface::read_param
mom_obsolete_params::find_obsolete_params → mom_file_parser::interface::read_param
mom_obsolete_params::obsolete_char → mom_file_parser::interface::read_param
mom_obsolete_params::obsolete_int → mom_file_parser::interface::read_param
mom_obsolete_params::obsolete_logical → mom_file_parser::interface::read_param
mom_obsolete_params::obsolete_real → mom_file_parser::interface::read_param
mom_open_boundary::open_boundary_config → mom_file_parser::interface::read_param
- interface log_param
An overloaded interface to log the values of various types of parameters
Callers call graph
Text view
advection_test_tracer::register_advection_test_tracer → mom_file_parser::interface::log_param
dome_tracer::register_dome_tracer → mom_file_parser::interface::log_param
dyed_obc_tracer::register_dyed_obc_tracer → mom_file_parser::interface::log_param
ideal_age_example::register_ideal_age_tracer → mom_file_parser::interface::log_param
isomip_tracer::register_isomip_tracer → mom_file_parser::interface::log_param
marbl_tracers::register_marbl_tracers → mom_file_parser::interface::log_param
mom_ale_sponge::initialize_ale_sponge_fixed → mom_file_parser::interface::log_param
mom_ale_sponge::initialize_ale_sponge_varying → mom_file_parser::interface::log_param
mom_barotropic::barotropic_init → mom_file_parser::interface::log_param
mom_bkgnd_mixing::bkgnd_mixing_init → mom_file_parser::interface::log_param
mom_bulk_mixed_layer::bulkmixedlayer_init → mom_file_parser::interface::log_param
mom_cfc_cap::register_cfc_cap → mom_file_parser::interface::log_param
mom_controlled_forcing::controlled_forcing_init → mom_file_parser::interface::log_param
mom_coord_initialization::set_coord_from_file → mom_file_parser::interface::log_param
mom_coord_initialization::set_coord_from_ts_profile → mom_file_parser::interface::log_param
mom_diabatic_aux::diabatic_aux_init → mom_file_parser::interface::log_param
mom_domains::mom_domains_init → mom_file_parser::interface::log_param
mom_energetic_pbl::energetic_pbl_init → mom_file_parser::interface::log_param
mom_file_parser::close_param_file → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_int → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_int_array → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_real → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_real_array → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time_as_date → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time_as_date_default → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time_as_date_tick → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time_with_timeunit → mom_file_parser::interface::log_param
mom_file_parser_tests::test_log_param_time_with_unit → mom_file_parser::interface::log_param
mom_fixed_initialization::mom_initialize_topography → mom_file_parser::interface::log_param
mom_geothermal::geothermal_init → mom_file_parser::interface::log_param
mom_grid_initialize::set_grid_metrics_cartesian → mom_file_parser::interface::log_param
mom_grid_initialize::set_grid_metrics_from_mosaic → mom_file_parser::interface::log_param
mom_hybgen_regrid::init_hybgen_regrid → mom_file_parser::interface::log_param
mom_ice_shelf::initialize_ice_smb → mom_file_parser::interface::log_param
mom_ice_shelf::initialize_shelf_mass → mom_file_parser::interface::log_param
mom_ice_shelf_dynamics::initialize_ice_shelf_dyn → mom_file_parser::interface::log_param
mom_ice_shelf_initialize::initialize_ice_aglen → mom_file_parser::interface::log_param
mom_ice_shelf_initialize::initialize_ice_c_basal_friction → mom_file_parser::interface::log_param
mom_ice_shelf_initialize::initialize_ice_flow_from_file → mom_file_parser::interface::log_param
mom_ice_shelf_initialize::initialize_ice_shelf_boundary_from_file → mom_file_parser::interface::log_param
mom_ice_shelf_initialize::initialize_ice_thickness_from_file → mom_file_parser::interface::log_param
mom_int_tide_input::int_tide_input_init → mom_file_parser::interface::log_param
mom_internal_tides::internal_tides_init → mom_file_parser::interface::log_param
mom_mixed_layer_restrat::mixedlayer_restrat_init → mom_file_parser::interface::log_param
mom_ocmip2_cfc::register_ocmip2_cfc → mom_file_parser::interface::log_param
mom_pointaccel::pointaccel_init → mom_file_parser::interface::log_param
mom_pressureforce_fv::pressureforce_fv_init → mom_file_parser::interface::log_param
mom_pressureforce_mont::pressureforce_mont_init → mom_file_parser::interface::log_param
mom_regridding::initialize_regridding → mom_file_parser::interface::log_param
mom_restart::restart_init → mom_file_parser::interface::log_param
mom_self_attr_load::sal_init → mom_file_parser::interface::log_param
mom_set_visc::set_visc_init → mom_file_parser::interface::log_param
mom_shared_initialization::initialize_topography_from_file → mom_file_parser::interface::log_param
mom_shared_initialization::reset_face_lengths_file → mom_file_parser::interface::log_param
mom_shared_initialization::reset_face_lengths_list → mom_file_parser::interface::log_param
mom_shared_initialization::set_meansl_from_file → mom_file_parser::interface::log_param
mom_shared_initialization::set_subgrid_topo_at_vel_from_file → mom_file_parser::interface::log_param
mom_sponge::initialize_sponge → mom_file_parser::interface::log_param
mom_state_initialization::depress_surface → mom_file_parser::interface::log_param
mom_state_initialization::initialize_oda_incupd_file → mom_file_parser::interface::log_param
mom_state_initialization::initialize_sponges_file → mom_file_parser::interface::log_param
mom_state_initialization::initialize_temp_salt_from_file → mom_file_parser::interface::log_param
mom_state_initialization::initialize_temp_salt_from_profile → mom_file_parser::interface::log_param
mom_state_initialization::initialize_thickness_from_file → mom_file_parser::interface::log_param
mom_state_initialization::initialize_thickness_list → mom_file_parser::interface::log_param
mom_state_initialization::initialize_velocity_from_file → mom_file_parser::interface::log_param
mom_state_initialization::trim_for_ice → mom_file_parser::interface::log_param
mom_sum_output::mom_sum_output_init → mom_file_parser::interface::log_param
mom_surface_forcing::surface_forcing_init → mom_file_parser::interface::log_param
mom_tidal_mixing::tidal_mixing_init → mom_file_parser::interface::log_param
mom_vert_friction::vertvisc_init → mom_file_parser::interface::log_param
mom_verticalgrid::verticalgridinit → mom_file_parser::interface::log_param
mom_write_cputime::mom_write_cputime_init → mom_file_parser::interface::log_param
oil_tracer::register_oil_tracer → mom_file_parser::interface::log_param
rgc_tracer::register_rgc_tracer → mom_file_parser::interface::log_param
user_tracer_example::user_register_tracer_example → mom_file_parser::interface::log_param
- interface get_param
An overloaded interface to read and log the values of various types of parameters
Callers call graph
Text view
adjustment_initialization::adjustment_initialize_temperature_salinity → mom_file_parser::interface::get_param
adjustment_initialization::adjustment_initialize_thickness → mom_file_parser::interface::get_param
advection_test_tracer::register_advection_test_tracer → mom_file_parser::interface::get_param
baroclinic_zone_initialization::bcz_params → mom_file_parser::interface::get_param
basin_builder::basin_builder_topography → mom_file_parser::interface::get_param
benchmark_initialization::benchmark_init_temperature_salinity → mom_file_parser::interface::get_param
benchmark_initialization::benchmark_initialize_thickness → mom_file_parser::interface::get_param
benchmark_initialization::benchmark_initialize_topography → mom_file_parser::interface::get_param
bfb_initialization::bfb_set_coord → mom_file_parser::interface::get_param
bfb_surface_forcing::bfb_surface_forcing_init → mom_file_parser::interface::get_param
boundary_impulse_tracer::register_boundary_impulse_tracer → mom_file_parser::interface::get_param
circle_obcs_initialization::circle_obcs_initialize_thickness → mom_file_parser::interface::get_param
dense_water_initialization::dense_water_initialize_sponges → mom_file_parser::interface::get_param
dense_water_initialization::dense_water_initialize_topography → mom_file_parser::interface::get_param
dense_water_initialization::dense_water_initialize_ts → mom_file_parser::interface::get_param
dome2d_initialization::dome2d_initialize_sponges → mom_file_parser::interface::get_param
dome2d_initialization::dome2d_initialize_temperature_salinity → mom_file_parser::interface::get_param
dome2d_initialization::dome2d_initialize_thickness → mom_file_parser::interface::get_param
dome2d_initialization::dome2d_initialize_topography → mom_file_parser::interface::get_param
dome_initialization::dome_initialize_sponges → mom_file_parser::interface::get_param
dome_initialization::dome_initialize_topography → mom_file_parser::interface::get_param
dome_initialization::dome_set_obc_data → mom_file_parser::interface::get_param
dome_tracer::register_dome_tracer → mom_file_parser::interface::get_param
dumbbell_initialization::dumbbell_initialize_sponges → mom_file_parser::interface::get_param
dumbbell_initialization::dumbbell_initialize_temperature_salinity → mom_file_parser::interface::get_param
dumbbell_initialization::dumbbell_initialize_thickness → mom_file_parser::interface::get_param
dumbbell_initialization::dumbbell_initialize_topography → mom_file_parser::interface::get_param
dumbbell_surface_forcing::dumbbell_surface_forcing_init → mom_file_parser::interface::get_param
dyed_channel_initialization::dyed_channel_set_obc_tracer_data → mom_file_parser::interface::get_param
dyed_channel_initialization::register_dyed_channel_obc → mom_file_parser::interface::get_param
dyed_obc_tracer::register_dyed_obc_tracer → mom_file_parser::interface::get_param
dyed_obcs_initialization::dyed_obcs_set_obc_data → mom_file_parser::interface::get_param
external_gwave_initialization::external_gwave_initialize_thickness → mom_file_parser::interface::get_param
ideal_age_example::register_ideal_age_tracer → mom_file_parser::interface::get_param
idealized_hurricane::idealized_hurricane_wind_init → mom_file_parser::interface::get_param
isomip_initialization::isomip_initialize_sponges → mom_file_parser::interface::get_param
isomip_initialization::isomip_initialize_temperature_salinity → mom_file_parser::interface::get_param
isomip_initialization::isomip_initialize_thickness → mom_file_parser::interface::get_param
isomip_initialization::isomip_initialize_topography → mom_file_parser::interface::get_param
isomip_tracer::register_isomip_tracer → mom_file_parser::interface::get_param
kelvin_initialization::kelvin_initialize_topography → mom_file_parser::interface::get_param
kelvin_initialization::register_kelvin_obc → mom_file_parser::interface::get_param
lock_exchange_initialization::lock_exchange_initialize_thickness → mom_file_parser::interface::get_param
marbl_forcing_mod::marbl_forcing_init → mom_file_parser::interface::get_param
marbl_tracers::configure_marbl_tracers → mom_file_parser::interface::get_param
marbl_tracers::register_marbl_tracers → mom_file_parser::interface::get_param
meso_surface_forcing::meso_surface_forcing_init → mom_file_parser::interface::get_param
mom::set_restart_fields → mom_file_parser::interface::get_param
mom_ale::ale_initregridding → mom_file_parser::interface::get_param
mom_ale::ale_set_extrap_boundaries → mom_file_parser::interface::get_param
mom_ale_sponge::initialize_ale_sponge_fixed → mom_file_parser::interface::get_param
mom_ale_sponge::initialize_ale_sponge_varying → mom_file_parser::interface::get_param
mom_barotropic::barotropic_init → mom_file_parser::interface::get_param
mom_barotropic::register_barotropic_restarts → mom_file_parser::interface::get_param
mom_bkgnd_mixing::bkgnd_mixing_init → mom_file_parser::interface::get_param
mom_bkgnd_mixing::cvmix_bkgnd_is_used → mom_file_parser::interface::get_param
mom_boundary_update::call_obc_register → mom_file_parser::interface::get_param
mom_bulk_mixed_layer::bulkmixedlayer_init → mom_file_parser::interface::get_param
mom_cfc_cap::register_cfc_cap → mom_file_parser::interface::get_param
mom_continuity_ppm::continuity_ppm_init → mom_file_parser::interface::get_param
mom_controlled_forcing::controlled_forcing_init → mom_file_parser::interface::get_param
mom_coord_initialization::mom_initialize_coord → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_file → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_gprime → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_layer_density → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_ts_profile → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_ts_range → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_from_ts_ref → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_linear → mom_file_parser::interface::get_param
mom_coord_initialization::set_coord_to_none → mom_file_parser::interface::get_param
mom_coriolisadv::coriolisadv_init → mom_file_parser::interface::get_param
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::interface::get_param
mom_cvmix_conv::cvmix_conv_is_used → mom_file_parser::interface::get_param
mom_cvmix_ddiff::cvmix_ddiff_init → mom_file_parser::interface::get_param
mom_cvmix_ddiff::cvmix_ddiff_is_used → mom_file_parser::interface::get_param
mom_cvmix_kpp::kpp_init → mom_file_parser::interface::get_param
mom_cvmix_kpp::register_kpp_restarts → mom_file_parser::interface::get_param
mom_cvmix_shear::cvmix_shear_init → mom_file_parser::interface::get_param
mom_cvmix_shear::cvmix_shear_is_used → mom_file_parser::interface::get_param
mom_debugging::mom_debugging_init → mom_file_parser::interface::get_param
mom_diabatic_aux::diabatic_aux_init → mom_file_parser::interface::get_param
mom_diabatic_driver::adiabatic_driver_init → mom_file_parser::interface::get_param
mom_diabatic_driver::diabatic_driver_init → mom_file_parser::interface::get_param
mom_diag_mediator::diag_mediator_init → mom_file_parser::interface::get_param
mom_diagnostics::mom_diagnostics_init → mom_file_parser::interface::get_param
mom_diapyc_energy_req::diapyc_energy_req_init → mom_file_parser::interface::get_param
mom_domains::gen_auto_mask_table → mom_file_parser::interface::get_param
mom_domains::mom_domains_init → mom_file_parser::interface::get_param
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_file_parser::interface::get_param
mom_dynamics_split_rk2::register_restarts_dyn_split_rk2 → mom_file_parser::interface::get_param
mom_dynamics_split_rk2b::initialize_dyn_split_rk2b → mom_file_parser::interface::get_param
mom_dynamics_split_rk2b::register_restarts_dyn_split_rk2b → mom_file_parser::interface::get_param
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_file_parser::interface::get_param
mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 → mom_file_parser::interface::get_param
mom_energetic_pbl::energetic_pbl_init → mom_file_parser::interface::get_param
mom_entrain_diffusive::entrain_diffusive_init → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_char → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_char_array → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_char_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_int → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_int_array → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_int_array_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_int_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_logical → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_logical_default → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_logical_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_real → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_real_array → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_real_array_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_real_no_read_no_log → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_time → mom_file_parser::interface::get_param
mom_file_parser_tests::test_get_param_time_no_read_no_log → mom_file_parser::interface::get_param
mom_fixed_initialization::mom_initialize_fixed → mom_file_parser::interface::get_param
mom_fixed_initialization::mom_initialize_topography → mom_file_parser::interface::get_param
mom_geothermal::geothermal_init → mom_file_parser::interface::get_param
mom_grid::mom_grid_init → mom_file_parser::interface::get_param
mom_grid_initialize::initialize_masks → mom_file_parser::interface::get_param
mom_grid_initialize::set_grid_metrics → mom_file_parser::interface::get_param
mom_grid_initialize::set_grid_metrics_cartesian → mom_file_parser::interface::get_param
mom_grid_initialize::set_grid_metrics_from_mosaic → mom_file_parser::interface::get_param
mom_grid_initialize::set_grid_metrics_mercator → mom_file_parser::interface::get_param
mom_grid_initialize::set_grid_metrics_spherical → mom_file_parser::interface::get_param
mom_harmonic_analysis::ha_init → mom_file_parser::interface::get_param
mom_hor_bnd_diffusion::hor_bnd_diffusion_init → mom_file_parser::interface::get_param
mom_hor_visc::hor_visc_init → mom_file_parser::interface::get_param
mom_hybgen_regrid::init_hybgen_regrid → mom_file_parser::interface::get_param
mom_ice_shelf::initialize_ice_shelf → mom_file_parser::interface::get_param
mom_ice_shelf::initialize_ice_smb → mom_file_parser::interface::get_param
mom_ice_shelf::initialize_shelf_mass → mom_file_parser::interface::get_param
mom_ice_shelf_dynamics::initialize_ice_shelf_dyn → mom_file_parser::interface::get_param
mom_ice_shelf_dynamics::register_ice_shelf_dyn_restarts → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_aglen → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_c_basal_friction → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_flow_from_file → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_shelf_boundary_channel → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_shelf_boundary_from_file → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_thickness → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_thickness_channel → mom_file_parser::interface::get_param
mom_ice_shelf_initialize::initialize_ice_thickness_from_file → mom_file_parser::interface::get_param
mom_int_tide_input::int_tide_input_init → mom_file_parser::interface::get_param
mom_interface_filter::interface_filter_init → mom_file_parser::interface::get_param
mom_internal_tides::internal_tides_init → mom_file_parser::interface::get_param
mom_internal_tides::register_int_tide_restarts → mom_file_parser::interface::get_param
mom_is_diag_mediator::mom_is_diag_mediator_init → mom_file_parser::interface::get_param
mom_kappa_shear::kappa_shear_at_vertex → mom_file_parser::interface::get_param
mom_kappa_shear::kappa_shear_init → mom_file_parser::interface::get_param
mom_kappa_shear::kappa_shear_is_used → mom_file_parser::interface::get_param
mom_lateral_mixing_coeffs::varmix_init → mom_file_parser::interface::get_param
mom_marine_ice::marine_ice_init → mom_file_parser::interface::get_param
mom_meke::ml_meke_init → mom_file_parser::interface::get_param
mom_meso_sfn_ann::meso_sfn_ann_init → mom_file_parser::interface::get_param
mom_mixed_layer_restrat::mixedlayer_restrat_init → mom_file_parser::interface::get_param
mom_mixed_layer_restrat::mixedlayer_restrat_register_restarts → mom_file_parser::interface::get_param
mom_neutral_diffusion::neutral_diffusion_init → mom_file_parser::interface::get_param
mom_obsolete_diagnostics::register_obsolete_diagnostics → mom_file_parser::interface::get_param
mom_ocmip2_cfc::register_ocmip2_cfc → mom_file_parser::interface::get_param
mom_oda_driver_mod::init_oda → mom_file_parser::interface::get_param
mom_oda_incupd::initialize_oda_incupd → mom_file_parser::interface::get_param
mom_oda_incupd::output_oda_incupd_inc → mom_file_parser::interface::get_param
mom_offline_main::offline_transport_init → mom_file_parser::interface::get_param
mom_opacity::opacity_init → mom_file_parser::interface::get_param
mom_open_boundary::initialize_obc_tides → mom_file_parser::interface::get_param
mom_open_boundary::initialize_segment_data → mom_file_parser::interface::get_param
mom_open_boundary::mask_outside_obcs → mom_file_parser::interface::get_param
mom_open_boundary::open_boundary_config → mom_file_parser::interface::get_param
mom_open_boundary::parse_for_tracer_reservoirs → mom_file_parser::interface::get_param
mom_open_boundary::setup_u_point_obc → mom_file_parser::interface::get_param
mom_open_boundary::setup_v_point_obc → mom_file_parser::interface::get_param
mom_pointaccel::pointaccel_init → mom_file_parser::interface::get_param
mom_porous_barriers::porous_barriers_init → mom_file_parser::interface::get_param
mom_pressureforce::pressureforce_init → mom_file_parser::interface::get_param
mom_pressureforce_fv::pressureforce_fv_init → mom_file_parser::interface::get_param
mom_pressureforce_mont::pressureforce_mont_init → mom_file_parser::interface::get_param
mom_regridding::initialize_regridding → mom_file_parser::interface::get_param
mom_regularize_layers::regularize_layers_init → mom_file_parser::interface::get_param
mom_restart::restart_init → mom_file_parser::interface::get_param
mom_self_attr_load::sal_init → mom_file_parser::interface::get_param
mom_set_diffusivity::set_diffusivity_init → mom_file_parser::interface::get_param
mom_set_visc::set_visc_init → mom_file_parser::interface::get_param
mom_set_visc::set_visc_register_restarts → mom_file_parser::interface::get_param
mom_shared_initialization::apply_topography_edits_from_file → mom_file_parser::interface::get_param
mom_shared_initialization::initialize_grid_rotation_angle → mom_file_parser::interface::get_param
mom_shared_initialization::initialize_topography_from_file → mom_file_parser::interface::get_param
mom_shared_initialization::initialize_topography_named → mom_file_parser::interface::get_param
mom_shared_initialization::limit_topography → mom_file_parser::interface::get_param
mom_shared_initialization::mom_initialize_rotation → mom_file_parser::interface::get_param
mom_shared_initialization::reset_face_lengths_file → mom_file_parser::interface::get_param
mom_shared_initialization::reset_face_lengths_list → mom_file_parser::interface::get_param
mom_shared_initialization::set_meansl_from_file → mom_file_parser::interface::get_param
mom_shared_initialization::set_rotation_beta_plane → mom_file_parser::interface::get_param
mom_shared_initialization::set_rotation_planetary → mom_file_parser::interface::get_param
mom_shared_initialization::set_subgrid_topo_at_vel_from_file → mom_file_parser::interface::get_param
mom_shared_initialization::write_ocean_geometry_file → mom_file_parser::interface::get_param
mom_spherical_harmonics::spherical_harmonics_init → mom_file_parser::interface::get_param
mom_sponge::initialize_sponge → mom_file_parser::interface::get_param
mom_state_initialization::calc_sfc_displacement → mom_file_parser::interface::get_param
mom_state_initialization::depress_surface → mom_file_parser::interface::get_param
mom_state_initialization::initialize_oda_incupd_file → mom_file_parser::interface::get_param
mom_state_initialization::initialize_sponges_file → mom_file_parser::interface::get_param
mom_state_initialization::initialize_temp_salt_fit → mom_file_parser::interface::get_param
mom_state_initialization::initialize_temp_salt_from_file → mom_file_parser::interface::get_param
mom_state_initialization::initialize_temp_salt_from_profile → mom_file_parser::interface::get_param
mom_state_initialization::initialize_temp_salt_linear → mom_file_parser::interface::get_param
mom_state_initialization::initialize_thickness_from_file → mom_file_parser::interface::get_param
mom_state_initialization::initialize_thickness_list → mom_file_parser::interface::get_param
mom_state_initialization::initialize_thickness_param → mom_file_parser::interface::get_param
mom_state_initialization::initialize_velocity_circular → mom_file_parser::interface::get_param
mom_state_initialization::initialize_velocity_from_file → mom_file_parser::interface::get_param
mom_state_initialization::initialize_velocity_uniform → mom_file_parser::interface::get_param
mom_state_initialization::mom_initialize_obcs → mom_file_parser::interface::get_param
mom_state_initialization::mom_initialize_state → mom_file_parser::interface::get_param
mom_state_initialization::mom_temp_salt_initialize_from_z → mom_file_parser::interface::get_param
mom_state_initialization::trim_for_ice → mom_file_parser::interface::get_param
mom_stoch_eos::mom_stoch_eos_init → mom_file_parser::interface::get_param
mom_stoch_eos::stoch_eos_register_restarts → mom_file_parser::interface::get_param
mom_stochastics::stochastics_init → mom_file_parser::interface::get_param
mom_streaming_filter::filt_init → mom_file_parser::interface::get_param
mom_sum_output::mom_sum_output_init → mom_file_parser::interface::get_param
mom_surface_forcing::surface_forcing_init → mom_file_parser::interface::get_param
mom_thickness_diffuse::thickness_diffuse_init → mom_file_parser::interface::get_param
mom_tidal_forcing::tidal_forcing_init → mom_file_parser::interface::get_param
mom_tidal_mixing::read_tidal_energy → mom_file_parser::interface::get_param
mom_tidal_mixing::tidal_mixing_init → mom_file_parser::interface::get_param
mom_tracer_advect::tracer_advect_init → mom_file_parser::interface::get_param
mom_tracer_flow_control::call_tracer_flux_init → mom_file_parser::interface::get_param
mom_tracer_flow_control::call_tracer_register → mom_file_parser::interface::get_param
mom_tracer_hor_diff::tracer_hor_diff_init → mom_file_parser::interface::get_param
mom_tracer_initialization_from_z::mom_initialize_tracer_from_z → mom_file_parser::interface::get_param
mom_tracer_z_init::determine_temperature → mom_file_parser::interface::get_param
mom_unit_scaling::unit_scaling_init → mom_file_parser::interface::get_param
mom_vert_friction::vertvisc_init → mom_file_parser::interface::get_param
mom_verticalgrid::verticalgridinit → mom_file_parser::interface::get_param
mom_wave_drag::wave_drag_init → mom_file_parser::interface::get_param
mom_wave_interface::mom_wave_interface_init → mom_file_parser::interface::get_param
mom_wave_interface::set_lf17_wave_params → mom_file_parser::interface::get_param
mom_wave_interface::waves_register_restarts → mom_file_parser::interface::get_param
mom_write_cputime::mom_write_cputime_init → mom_file_parser::interface::get_param
mom_zanna_bolton::zb2020_init → mom_file_parser::interface::get_param
neverworld_initialization::neverworld_initialize_thickness → mom_file_parser::interface::get_param
neverworld_initialization::neverworld_initialize_topography → mom_file_parser::interface::get_param
nw2_tracers::register_nw2_tracers → mom_file_parser::interface::get_param
oil_tracer::register_oil_tracer → mom_file_parser::interface::get_param
phillips_initialization::phillips_initialize_sponges → mom_file_parser::interface::get_param
phillips_initialization::phillips_initialize_thickness → mom_file_parser::interface::get_param
phillips_initialization::phillips_initialize_topography → mom_file_parser::interface::get_param
phillips_initialization::phillips_initialize_velocity → mom_file_parser::interface::get_param
regional_dyes::register_dye_tracer → mom_file_parser::interface::get_param
rgc_initialization::rgc_initialize_sponges → mom_file_parser::interface::get_param
rgc_tracer::register_rgc_tracer → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_temperature_salinity → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_file_parser::interface::get_param
rossby_front_2d_initialization::rossby_front_initialize_velocity → mom_file_parser::interface::get_param
scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init → mom_file_parser::interface::get_param
scm_cvmix_tests::scm_cvmix_tests_ts_init → mom_file_parser::interface::get_param
seamount_initialization::seamount_initialize_temperature_salinity → mom_file_parser::interface::get_param
seamount_initialization::seamount_initialize_thickness → mom_file_parser::interface::get_param
seamount_initialization::seamount_initialize_topography → mom_file_parser::interface::get_param
shelfwave_initialization::register_shelfwave_obc → mom_file_parser::interface::get_param
shelfwave_initialization::shelfwave_initialize_topography → mom_file_parser::interface::get_param
sloshing_initialization::sloshing_initialize_temperature_salinity → mom_file_parser::interface::get_param
sloshing_initialization::sloshing_initialize_thickness → mom_file_parser::interface::get_param
soliton_initialization::soliton_initialize_thickness → mom_file_parser::interface::get_param
soliton_initialization::soliton_initialize_velocity → mom_file_parser::interface::get_param
supercritical_initialization::supercritical_set_obc_data → mom_file_parser::interface::get_param
tidal_bay_initialization::register_tidal_bay_obc → mom_file_parser::interface::get_param
user_change_diffusivity::user_change_diff_init → mom_file_parser::interface::get_param
user_shelf_init::user_initialize_shelf_mass → mom_file_parser::interface::get_param
user_surface_forcing::user_surface_forcing_init → mom_file_parser::interface::get_param
user_tracer_example::user_register_tracer_example → mom_file_parser::interface::get_param
- interface log_version
An overloaded interface to log version information about modules
Callers call graph
Text view
adjustment_initialization::adjustment_initialize_thickness → mom_file_parser::interface::log_version
advection_test_tracer::register_advection_test_tracer → mom_file_parser::interface::log_version
baroclinic_zone_initialization::bcz_params → mom_file_parser::interface::log_version
basin_builder::basin_builder_topography → mom_file_parser::interface::log_version
benchmark_initialization::benchmark_initialize_thickness → mom_file_parser::interface::log_version
benchmark_initialization::benchmark_initialize_topography → mom_file_parser::interface::log_version
bfb_initialization::bfb_set_coord → mom_file_parser::interface::log_version
bfb_surface_forcing::bfb_surface_forcing_init → mom_file_parser::interface::log_version
boundary_impulse_tracer::register_boundary_impulse_tracer → mom_file_parser::interface::log_version
circle_obcs_initialization::circle_obcs_initialize_thickness → mom_file_parser::interface::log_version
dome2d_initialization::dome2d_initialize_topography → mom_file_parser::interface::log_version
dome_initialization::dome_initialize_topography → mom_file_parser::interface::log_version
dome_tracer::register_dome_tracer → mom_file_parser::interface::log_version
dumbbell_initialization::dumbbell_initialize_thickness → mom_file_parser::interface::log_version
dumbbell_surface_forcing::dumbbell_surface_forcing_init → mom_file_parser::interface::log_version
dyed_obc_tracer::register_dyed_obc_tracer → mom_file_parser::interface::log_version
external_gwave_initialization::external_gwave_initialize_thickness → mom_file_parser::interface::log_version
ideal_age_example::register_ideal_age_tracer → mom_file_parser::interface::log_version
idealized_hurricane::idealized_hurricane_wind_init → mom_file_parser::interface::log_version
isomip_initialization::isomip_initialize_topography → mom_file_parser::interface::log_version
isomip_tracer::register_isomip_tracer → mom_file_parser::interface::log_version
kelvin_initialization::register_kelvin_obc → mom_file_parser::interface::log_version
lock_exchange_initialization::lock_exchange_initialize_thickness → mom_file_parser::interface::log_version
marbl_tracers::configure_marbl_tracers → mom_file_parser::interface::log_version
marbl_tracers::register_marbl_tracers → mom_file_parser::interface::log_version
meso_surface_forcing::meso_surface_forcing_init → mom_file_parser::interface::log_version
mom::initialize_mom → mom_file_parser::interface::log_version
mom_ale_sponge::initialize_ale_sponge_fixed → mom_file_parser::interface::log_version
mom_ale_sponge::initialize_ale_sponge_varying → mom_file_parser::interface::log_version
mom_barotropic::barotropic_init → mom_file_parser::interface::log_version
mom_bkgnd_mixing::bkgnd_mixing_init → mom_file_parser::interface::log_version
mom_boundary_update::call_obc_register → mom_file_parser::interface::log_version
mom_bulk_mixed_layer::bulkmixedlayer_init → mom_file_parser::interface::log_version
mom_cfc_cap::register_cfc_cap → mom_file_parser::interface::log_version
mom_checksums::mom_checksums_init → mom_file_parser::interface::log_version
mom_continuity_ppm::continuity_ppm_init → mom_file_parser::interface::log_version
mom_controlled_forcing::controlled_forcing_init → mom_file_parser::interface::log_version
mom_coord_initialization::mom_initialize_coord → mom_file_parser::interface::log_version
mom_coriolisadv::coriolisadv_init → mom_file_parser::interface::log_version
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::interface::log_version
mom_cvmix_ddiff::cvmix_ddiff_init → mom_file_parser::interface::log_version
mom_cvmix_kpp::kpp_init → mom_file_parser::interface::log_version
mom_cvmix_shear::cvmix_shear_init → mom_file_parser::interface::log_version
mom_debugging::mom_debugging_init → mom_file_parser::interface::log_version
mom_diabatic_aux::diabatic_aux_init → mom_file_parser::interface::log_version
mom_diabatic_driver::adiabatic_driver_init → mom_file_parser::interface::log_version
mom_diabatic_driver::diabatic_driver_init → mom_file_parser::interface::log_version
mom_diag_mediator::diag_mediator_init → mom_file_parser::interface::log_version
mom_diagnostics::mom_diagnostics_init → mom_file_parser::interface::log_version
mom_diapyc_energy_req::diapyc_energy_req_init → mom_file_parser::interface::log_version
mom_domains::mom_domains_init → mom_file_parser::interface::log_version
mom_dynamics_split_rk2::initialize_dyn_split_rk2 → mom_file_parser::interface::log_version
mom_dynamics_split_rk2b::initialize_dyn_split_rk2b → mom_file_parser::interface::log_version
mom_dynamics_unsplit::initialize_dyn_unsplit → mom_file_parser::interface::log_version
mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 → mom_file_parser::interface::log_version
mom_energetic_pbl::energetic_pbl_init → mom_file_parser::interface::log_version
mom_entrain_diffusive::entrain_diffusive_init → mom_file_parser::interface::log_version
mom_file_parser::close_param_file → mom_file_parser::interface::log_version
mom_file_parser_tests::test_log_version_cs → mom_file_parser::interface::log_version
mom_file_parser_tests::test_log_version_plain → mom_file_parser::interface::log_version
mom_fixed_initialization::mom_initialize_fixed → mom_file_parser::interface::log_version
mom_geothermal::geothermal_init → mom_file_parser::interface::log_version
mom_grid::mom_grid_init → mom_file_parser::interface::log_version
mom_grid_initialize::set_grid_metrics → mom_file_parser::interface::log_version
mom_hor_bnd_diffusion::hor_bnd_diffusion_init → mom_file_parser::interface::log_version
mom_hor_index::hor_index_init → mom_file_parser::interface::log_version
mom_hor_visc::hor_visc_init → mom_file_parser::interface::log_version
mom_ice_shelf::initialize_ice_shelf → mom_file_parser::interface::log_version
mom_ice_shelf_dynamics::initialize_ice_shelf_dyn → mom_file_parser::interface::log_version
mom_int_tide_input::int_tide_input_init → mom_file_parser::interface::log_version
mom_interface_filter::interface_filter_init → mom_file_parser::interface::log_version
mom_internal_tides::internal_tides_init → mom_file_parser::interface::log_version
mom_io::mom_io_init → mom_file_parser::interface::log_version
mom_is_diag_mediator::mom_is_diag_mediator_init → mom_file_parser::interface::log_version
mom_kappa_shear::kappa_shear_init → mom_file_parser::interface::log_version
mom_lateral_mixing_coeffs::varmix_init → mom_file_parser::interface::log_version
mom_marine_ice::marine_ice_init → mom_file_parser::interface::log_version
mom_meke::meke_init → mom_file_parser::interface::log_version
mom_meso_sfn_ann::meso_sfn_ann_init → mom_file_parser::interface::log_version
mom_mixed_layer_restrat::mixedlayer_restrat_init → mom_file_parser::interface::log_version
mom_neutral_diffusion::neutral_diffusion_init → mom_file_parser::interface::log_version
mom_obsolete_diagnostics::register_obsolete_diagnostics → mom_file_parser::interface::log_version
mom_obsolete_params::find_obsolete_params → mom_file_parser::interface::log_version
mom_ocmip2_cfc::register_ocmip2_cfc → mom_file_parser::interface::log_version
mom_oda_incupd::initialize_oda_incupd → mom_file_parser::interface::log_version
mom_offline_main::offline_transport_init → mom_file_parser::interface::log_version
mom_opacity::opacity_init → mom_file_parser::interface::log_version
mom_open_boundary::open_boundary_config → mom_file_parser::interface::log_version
mom_open_boundary::segment_thickness_reservoir_init → mom_file_parser::interface::log_version
mom_open_boundary::segment_tracer_registry_init → mom_file_parser::interface::log_version
mom_pointaccel::pointaccel_init → mom_file_parser::interface::log_version
mom_porous_barriers::porous_barriers_init → mom_file_parser::interface::log_version
mom_pressureforce::pressureforce_init → mom_file_parser::interface::log_version
mom_pressureforce_fv::pressureforce_fv_init → mom_file_parser::interface::log_version
mom_pressureforce_mont::pressureforce_mont_init → mom_file_parser::interface::log_version
mom_regularize_layers::regularize_layers_init → mom_file_parser::interface::log_version
mom_restart::restart_init → mom_file_parser::interface::log_version
mom_self_attr_load::sal_init → mom_file_parser::interface::log_version
mom_set_diffusivity::set_diffusivity_init → mom_file_parser::interface::log_version
mom_set_visc::set_visc_init → mom_file_parser::interface::log_version
mom_shared_initialization::mom_shared_init_init → mom_file_parser::interface::log_version
mom_spherical_harmonics::spherical_harmonics_init → mom_file_parser::interface::log_version
mom_sponge::initialize_sponge → mom_file_parser::interface::log_version
mom_state_initialization::mom_initialize_state → mom_file_parser::interface::log_version
mom_state_initialization::mom_temp_salt_initialize_from_z → mom_file_parser::interface::log_version
mom_stoch_eos::mom_stoch_eos_init → mom_file_parser::interface::log_version
mom_stochastics::stochastics_init → mom_file_parser::interface::log_version
mom_sum_output::mom_sum_output_init → mom_file_parser::interface::log_version
mom_surface_forcing::surface_forcing_init → mom_file_parser::interface::log_version
mom_thickness_diffuse::thickness_diffuse_init → mom_file_parser::interface::log_version
mom_tidal_forcing::tidal_forcing_init → mom_file_parser::interface::log_version
mom_tidal_mixing::tidal_mixing_init → mom_file_parser::interface::log_version
mom_tracer_advect::tracer_advect_init → mom_file_parser::interface::log_version
mom_tracer_flow_control::call_tracer_register → mom_file_parser::interface::log_version
mom_tracer_hor_diff::tracer_hor_diff_init → mom_file_parser::interface::log_version
mom_tracer_registry::tracer_registry_init → mom_file_parser::interface::log_version
mom_tracer_z_init::determine_temperature → mom_file_parser::interface::log_version
mom_unit_scaling::unit_scaling_init → mom_file_parser::interface::log_version
mom_vert_friction::vertvisc_init → mom_file_parser::interface::log_version
mom_verticalgrid::verticalgridinit → mom_file_parser::interface::log_version
mom_wave_interface::mom_wave_interface_init → mom_file_parser::interface::log_version
mom_wave_speed::wave_speed_init → mom_file_parser::interface::log_version
mom_write_cputime::mom_write_cputime_init → mom_file_parser::interface::log_version
mom_zanna_bolton::zb2020_init → mom_file_parser::interface::log_version
neverworld_initialization::neverworld_initialize_topography → mom_file_parser::interface::log_version
nw2_tracers::register_nw2_tracers → mom_file_parser::interface::log_version
oil_tracer::register_oil_tracer → mom_file_parser::interface::log_version
phillips_initialization::phillips_initialize_sponges → mom_file_parser::interface::log_version
phillips_initialization::phillips_initialize_thickness → mom_file_parser::interface::log_version
phillips_initialization::phillips_initialize_velocity → mom_file_parser::interface::log_version
pseudo_salt_tracer::register_pseudo_salt_tracer → mom_file_parser::interface::log_version
regional_dyes::register_dye_tracer → mom_file_parser::interface::log_version
rgc_tracer::register_rgc_tracer → mom_file_parser::interface::log_version
rossby_front_2d_initialization::rossby_front_initialize_thickness → mom_file_parser::interface::log_version
scm_cvmix_tests::scm_cvmix_tests_surface_forcing_init → mom_file_parser::interface::log_version
scm_cvmix_tests::scm_cvmix_tests_ts_init → mom_file_parser::interface::log_version
sloshing_initialization::sloshing_initialize_thickness → mom_file_parser::interface::log_version
soliton_initialization::soliton_initialize_thickness → mom_file_parser::interface::log_version
user_change_diffusivity::user_change_diff_init → mom_file_parser::interface::log_version
user_initialization::write_user_log → mom_file_parser::interface::log_version
user_revise_forcing::user_revise_forcing_init → mom_file_parser::interface::log_version
user_shelf_init::write_user_log → mom_file_parser::interface::log_version
user_surface_forcing::user_surface_forcing_init → mom_file_parser::interface::log_version
user_tracer_example::user_register_tracer_example → mom_file_parser::interface::log_version
Functions/Subroutine Documentation
- subroutine open_param_file(filename, CS, checkable, component, doc_file_dir, ensemble_num)
Make the contents of a parameter input file available in a param_file_type
- Parameters
filename [in]
An input file name, optionally with the full path
CS [inout]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
checkable [in]
If this is false, it disables checks of this file for unused parameters. The default is True.
component [in]
If present, this component name is used to generate parameter documentation file names; the default is"MOM"
doc_file_dir [in]
An optional directory in which to write out the documentation files. The default is effectively './'.
ensemble_num [in]
ensemble number to be appended to _doc filenames (optional)
Callees call graph
Text view
mom_file_parser::open_param_file → mom_coms_infra::any_across_pes
mom_file_parser::open_param_file → mom_error_handler::assert
mom_file_parser::open_param_file → mom_error_handler::mom_error
mom_file_parser::open_param_file → mom_error_handler::mom_mesg
mom_file_parser::open_param_file → mom_error_infra::is_root_pe
mom_file_parser::open_param_file → mom_file_parser::interface::read_param
mom_file_parser::open_param_file → mom_file_parser::max_input_line_length
mom_file_parser::open_param_file → mom_file_parser::populate_param_data
mom_file_parser::open_param_file → mom_string_functions::slasher
Callers call graph
Text view
mom_file_parser_tests::test_close_param_file_quiet → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_char → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_char_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_char_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_int → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_int_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_int_array_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_int_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_logical → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_logical_default → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_logical_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_real → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_real_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_real_array_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_real_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_time → mom_file_parser::open_param_file
mom_file_parser_tests::test_get_param_time_no_read_no_log → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_int → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_int_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_real → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_real_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time_as_date → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time_as_date_default → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time_as_date_tick → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time_with_timeunit → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_param_time_with_unit → mom_file_parser::open_param_file
mom_file_parser_tests::test_log_version_cs → mom_file_parser::open_param_file
mom_file_parser_tests::test_missing_param_file → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_checkable → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_component → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_docdir → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_empty_filename → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_ioerr → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_long_name → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_netcdf → mom_file_parser::open_param_file
mom_file_parser_tests::test_open_param_file_no_doc → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_assign_after_override → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_assign_in_define → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_assign_repeat → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_assign_twice → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_close_unnamed → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_close_unopened → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_empty_pop → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_outside_block → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_block_unmatched → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_apostrophe_delim → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_array_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_no_delim → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_char_quote_delim → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_define → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_define_as_flag → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_array_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_array_type_err → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_array_undefined → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_type_err → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_int_undefined → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_logical → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_logical_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_misplaced_quote → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_multiline_comment → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_multiline_comment_unclosed → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_multiline_param → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_multiline_param_unclosed → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_null_stmt → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override_misplaced → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override_no_def → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override_repeat → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override_twice → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_override_warn_chain → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_pad_equals → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_array → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_array_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_array_type_err → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_array_undefined → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_type_err → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_real_undefined → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_replace_tabs → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_bad_tuple → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_bad_tuple_values → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_date → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_date_bad_format → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_missing → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_tuple → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_type_err → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_undefined → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_time_unit → mom_file_parser::open_param_file
mom_file_parser_tests::test_read_param_unused_fatal → mom_file_parser::open_param_file
mom_file_parser_tests::test_reopen_param_file → mom_file_parser::open_param_file
mom_get_input::get_mom_input → mom_file_parser::open_param_file
- subroutine close_param_file(CS, quiet_close, component)
Close any open input files and deallocate memory associated with this param_file_type. To use this type again, open_param_file would have to be called again.
- Parameters
CS [inout]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
quiet_close [in]
if present and true, do not do any logging with this call.
component [in]
If present, this component name is used to generate parameter documentation file names
Callees call graph
Text view
mom_file_parser::close_param_file → mom_error_handler::mom_error
mom_file_parser::close_param_file → mom_error_handler::mom_mesg
mom_file_parser::close_param_file → mom_error_infra::is_root_pe
mom_file_parser::close_param_file → mom_file_parser::interface::log_param
mom_file_parser::close_param_file → mom_file_parser::interface::log_version
Callers call graph
Text view
mom_file_parser_tests::test_close_param_file_quiet → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_char → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_char_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_char_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_int → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_int_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_int_array_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_int_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_logical → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_logical_default → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_logical_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_real → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_real_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_real_array_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_real_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_time → mom_file_parser::close_param_file
mom_file_parser_tests::test_get_param_time_no_read_no_log → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_int → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_int_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_real → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_real_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time_as_date → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time_as_date_default → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time_as_date_tick → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time_with_timeunit → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_param_time_with_unit → mom_file_parser::close_param_file
mom_file_parser_tests::test_log_version_cs → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file_checkable → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file_component → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file_docdir → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file_long_name → mom_file_parser::close_param_file
mom_file_parser_tests::test_open_param_file_no_doc → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_assign_after_override → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_assign_repeat → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_block → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_char_apostrophe_delim → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_char_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_char_no_delim → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_char_quote_delim → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_define → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_define_as_flag → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_int → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_int_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_logical → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_multiline_comment → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_multiline_param → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_override → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_override_warn_chain → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_pad_equals → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_real → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_real_array → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_replace_tabs → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_time_date → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_time_tuple → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_time_unit → mom_file_parser::close_param_file
mom_file_parser_tests::test_read_param_unused_fatal → mom_file_parser::close_param_file
mom_file_parser_tests::test_reopen_param_file → mom_file_parser::close_param_file
mom_tracer_flow_control::call_tracer_flux_init → mom_file_parser::close_param_file
- subroutine populate_param_data(iounit, filename, param_data)
Read the contents of a parameter input file, and store the contents in a file_data_type after removing comments and simplifying white space
- Parameters
iounit [in]
The IO unit number that is open for filename
filename [in]
An input file name, optionally with the full path
param_data [inout]
A list of the input lines that set parameters after comments have been stripped out.
Callees call graph
Text view
mom_file_parser::populate_param_data → mom_coms_infra::interface::broadcast
mom_file_parser::populate_param_data → mom_coms_infra::root_pe
mom_file_parser::populate_param_data → mom_error_handler::assert
mom_file_parser::populate_param_data → mom_error_handler::mom_error
mom_file_parser::populate_param_data → mom_error_infra::is_root_pe
mom_file_parser::populate_param_data → mom_file_parser::closemultilinecomment
mom_file_parser::populate_param_data → mom_file_parser::lastnoncommentnonblank
mom_file_parser::populate_param_data → mom_file_parser::openmultilinecomment
mom_file_parser::populate_param_data → mom_file_parser::removecomments
mom_file_parser::populate_param_data → mom_file_parser::replacetabs
mom_file_parser::populate_param_data → mom_file_parser::simplifywhitespace
Callers call graph
- function openMultiLineComment(string)
Return True if a /* appears on this line without a closing */
- Parameters
string [in]
The input string to process
Callees call graph
Callers call graph
- function closeMultiLineComment(string)
Return True if a */ appears on this line
- Parameters
string [in]
The input string to process
Callers call graph
- function lastNonCommentIndex(string)
Find position of last character before any comments, As marked by "!", "//", or "/*" following F90, C++, or C syntax
- Parameters
string [in]
The input string to process
- function lastNonCommentNonBlank(string)
Find position of last non-blank character before any comments
- Parameters
string [in]
The input string to process
Callees call graph
- function replaceTabs(string)
Returns a string with tabs replaced by a blank
- Parameters
string [in]
The input string to process
- function removeComments(string)
Trims comments and leading blanks from string
- Parameters
string [in]
The input string to process
Callees call graph
- function simplifyWhiteSpace(string)
Constructs a string with all repeated white space replaced with single blanks and insert white space where it helps delineate tokens (e.g. around =)
- Parameters
string [in]
A string to modify to simplify white space
Callees call graph
Callers call graph
- subroutine read_param_int(CS, varname, value, fail_if_missing, set)
This subroutine reads the value of an integer model parameter from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
- subroutine read_param_int_array(CS, varname, value, fail_if_missing, set)
This subroutine reads the values of an array of integer model parameters from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
Callers call graph
- subroutine read_param_real(CS, varname, value, fail_if_missing, scale, set)
This subroutine reads the value of a real model parameter from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
scale [in]
A scaling factor that the parameter is multiplied by before it is returned.
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
- subroutine read_param_real_array(CS, varname, value, fail_if_missing, scale, set)
This subroutine reads the values of an array of real model parameters from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
scale [in]
A scaling factor that the parameter is multiplied by before it is returned.
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
Callers call graph
- subroutine read_param_char(CS, varname, value, fail_if_missing, set)
This subroutine reads the value of a character string model parameter from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
- subroutine read_param_char_array(CS, varname, value, fail_if_missing, set)
This subroutine reads the values of an array of character string model parameters from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
Callers call graph
- subroutine read_param_logical(CS, varname, value, fail_if_missing, set)
This subroutine reads the value of a logical model parameter from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
Callers call graph
- subroutine read_param_time(CS, varname, value, timeunit, fail_if_missing, date_format, set)
This subroutine reads the value of a time_type model parameter from a parameter file.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file
timeunit [in]
The number of seconds in a time unit for real-number input.
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
date_format [out]
If present, this indicates whether this parameter was read in a date format, so that it can later be logged in the same format.
set [out]
If present, this indicates whether this parameter has been found and successfully set in the input files.
Callees call graph
External calls
- time_manager_mod
set_date (time_manager_mod::set_date)
- function strip_quotes(val_str)
This function removes single and double quotes from a character string
- Parameters
val_str [in]
The character string to work on
Callers call graph
- function max_input_line_length(CS, pf_num) result(max_len)
This function returns the maximum number of characters in any input lines after they have been combined by any line continuation.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
pf_num [in]
If present, only work on a single file in the param_file_type, or return 0 if this exceeds the number of files in the param_file_type.
max_len
The maximum number of characters in any input lines after they have been combined by any line continuation.
Callees call graph
Callers call graph
- subroutine get_variable_line(CS, varname, found, defined, value_string, paramIsLogical)
This subroutine extracts the contents of lines in the param_file_type that refer to a named parameter. The value_string that is returned must be interpreted in a way that depends on the type of this variable.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
varname [in]
The case-sensitive name of the parameter to read
found [out]
If true, this parameter has been found in CS
defined [out]
If true, this parameter is set (or true) in the CS
value_string [out]
A string that encodes the new value
paramIsLogical [in]
If true, this is a logical parameter that can be simply defined without parsing a value_string.
Callees call graph
Text view
mom_file_parser::get_variable_line → mom_error_handler::mom_error
mom_file_parser::get_variable_line → mom_error_infra::is_root_pe
mom_file_parser::get_variable_line → mom_file_parser::flag_line_as_read
mom_file_parser::get_variable_line → mom_file_parser::overridewarninghasbeenissued
mom_file_parser::get_variable_line → mom_file_parser::popblocklevel
mom_file_parser::get_variable_line → mom_file_parser::pushblocklevel
Callers call graph
Text view
mom_file_parser::read_param_char → mom_file_parser::get_variable_line
mom_file_parser::read_param_char_array → mom_file_parser::get_variable_line
mom_file_parser::read_param_int → mom_file_parser::get_variable_line
mom_file_parser::read_param_int_array → mom_file_parser::get_variable_line
mom_file_parser::read_param_logical → mom_file_parser::get_variable_line
mom_file_parser::read_param_real → mom_file_parser::get_variable_line
mom_file_parser::read_param_real_array → mom_file_parser::get_variable_line
mom_file_parser::read_param_time → mom_file_parser::get_variable_line
- subroutine flag_line_as_read(line_used, count)
Record that a line has been used to set a parameter
- Parameters
line_used
A structure indicating which lines have been read
count [in]
The parameter on this line number has been read
Callers call graph
- function overrideWarningHasBeenIssued(chain, varName)
Returns true if an override warning has been issued for the variable varName
- Parameters
chain
The linked list of variables that have already had override warnings issued
varName [in]
The name of the variable being queried for warnings
Callers call graph
- subroutine log_version_cs(CS, modulename, version, desc, log_to_all, all_default, layout, debugging)
Log the version of a module to a log file and/or stdout, and/or to the parameter documentation file.
- Parameters
CS [in]
File parser type
modulename [in]
Name of calling module
version [in]
Version string of module
desc [in]
Module description
log_to_all [in]
If present and true, log this parameter to the ..._doc.all files, even if this module also has layout or debugging parameters.
all_default [in]
If true, all parameters take their default values.
layout [in]
If present and true, this module has layout parameters.
debugging [in]
If present and true, this module has debugging parameters.
Callees call graph
- subroutine log_version_plain(modulename, version)
Log the version of a module to a log file and/or stdout.
- Parameters
modulename [in]
Name of calling module
version [in]
Version string of module
Callees call graph
- subroutine log_param_int(CS, modulename, varname, value, desc, units, default, layoutParam, debuggingParam, like_default)
Log the name and value of an integer model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the module using this parameter
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
Callees call graph
- subroutine log_param_int_array(CS, modulename, varname, value, desc, units, default, defaults, layoutParam, debuggingParam, like_default)
Log the name and values of an array of integer model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the module using this parameter
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The uniform default value of this parameter
defaults [in]
The element-wise default values of this parameter
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
Callees call graph
Callers call graph
- subroutine log_param_real(CS, modulename, varname, value, desc, units, default, debuggingParam, like_default, unscale)
Log the name and value of a real model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
unscale [in]
A reciprocal scaling factor that the parameter is multiplied by before it is logged
Callees call graph
- subroutine log_param_real_array(CS, modulename, varname, value, desc, units, default, defaults, debuggingParam, like_default, unscale)
Log the name and values of an array of real model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
A uniform default value of the parameter
defaults [in]
The element-wise defaults of the parameter
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
unscale [in]
A reciprocal scaling factor that the parameter is multiplied by before it is logged
Callees call graph
Callers call graph
- subroutine log_param_logical(CS, modulename, varname, value, desc, units, default, layoutParam, debuggingParam, like_default)
Log the name and value of a logical model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
Callees call graph
Callers call graph
- subroutine log_param_char(CS, modulename, varname, value, desc, units, default, layoutParam, debuggingParam, like_default)
Log the name and value of a character string model parameter in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
Callees call graph
Callers call graph
- subroutine log_param_time(CS, modulename, varname, value, desc, units, default, timeunit, layoutParam, debuggingParam, log_date, like_default)
This subroutine writes the value of a time-type parameter to a log file, along with its name and the module it came from.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The name of the parameter to log
value [in]
The value of the parameter to log
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
timeunit [in]
The number of seconds in a time unit for real-number output.
log_date [in]
If true, log the time_type in date format. If missing the default is false.
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
like_default [in]
If present and true, log this parameter as though it has the default value, even if there is no default.
Callees call graph
External calls
- time_manager_mod
get_ticks_per_second (time_manager_mod::get_ticks_per_second)
get_time (time_manager_mod::get_time)
- function convert_date_to_string(date) result(date_string)
This function converts a date into a string, valid with ticks and for dates up to year 99,999,999
- Parameters
date [in]
The date to be translated into a string.
date_string
A date string in a format like YYYY-MM-DD HH:MM:SS.sss
Callers call graph
External calls
- time_manager_mod
get_date (time_manager_mod::get_date)
get_ticks_per_second (time_manager_mod::get_ticks_per_second)
- subroutine get_param_int(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, layoutParam, debuggingParam, old_name)
This subroutine reads the value of an integer model parameter from a parameter file and logs it in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine get_param_int_array(CS, modulename, varname, value, desc, units, default, defaults, fail_if_missing, do_not_read, do_not_log, layoutParam, debuggingParam, old_name)
This subroutine reads the values of an array of integer model parameters from a parameter file and logs them in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be reset from the parameter file
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The uniform default value of this parameter
defaults [in]
The element-wise default values of this parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
Callees call graph
Text view
mom_file_parser::get_param_int_array → mom_error_handler::mom_error
mom_file_parser::get_param_int_array → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_int_array → mom_file_parser::log_param_int_array
mom_file_parser::get_param_int_array → mom_file_parser::read_param_int_array
- subroutine get_param_real(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, debuggingParam, scale, unscaled, old_name)
This subroutine reads the value of a real model parameter from a parameter file and logs it in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
scale [in]
A scaling factor that the parameter is multiplied by before it is returned.
unscaled [out]
The value of the parameter that would be returned without any multiplication by a scaling factor.
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine get_param_real_array(CS, modulename, varname, value, desc, units, default, defaults, fail_if_missing, do_not_read, do_not_log, debuggingParam, scale, unscaled, old_name)
This subroutine reads the values of an array of real model parameters from a parameter file and logs them in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
A uniform default value of the parameter
defaults [in]
The element-wise defaults of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
scale [in]
A scaling factor that the parameter is multiplied by before it is returned.
unscaled [out]
The value of the parameter that would be returned without any multiplication by a scaling factor.
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
Callees call graph
Text view
mom_file_parser::get_param_real_array → mom_error_handler::mom_error
mom_file_parser::get_param_real_array → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_real_array → mom_file_parser::log_param_real_array
mom_file_parser::get_param_real_array → mom_file_parser::read_param_real_array
- subroutine get_param_char(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, layoutParam, debuggingParam, old_name)
This subroutine reads the value of a character string model parameter from a parameter file and logs it in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine get_param_char_array(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, old_name)
This subroutine reads the values of an array of character string model parameters from a parameter file and logs them in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine get_param_logical(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, layoutParam, debuggingParam, old_name)
This subroutine reads the value of a logical model parameter from a parameter file and logs it in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine get_param_time(CS, modulename, varname, value, desc, units, default, fail_if_missing, do_not_read, do_not_log, timeunit, layoutParam, debuggingParam, log_as_date, old_name)
This subroutine reads the value of a time-type model parameter from a parameter file and logs it in documentation files.
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
modulename [in]
The name of the calling module
varname [in]
The case-sensitive name of the parameter to read
value [inout]
The value of the parameter that may be read from the parameter file and logged
desc [in]
A description of this variable; if not present, this parameter is not written to a doc file
units [in]
The units of this parameter
default [in]
The default value of the parameter
fail_if_missing [in]
If present and true, a fatal error occurs if this variable is not found in the parameter file
do_not_read [in]
If present and true, do not read a value for this parameter, although it might be logged.
do_not_log [in]
If present and true, do not log this parameter to the documentation files
timeunit [in]
The number of seconds in a time unit for real-number input to be translated to a time.
layoutParam [in]
If present and true, this parameter is logged in the layout parameter file
debuggingParam [in]
If present and true, this parameter is logged in the debugging parameter file
log_as_date [in]
If true, log the time_type in date format. The default is false.
old_name [in]
A case-sensitive archaic name of the parameter to read. Errors or warnings are issued if the old name is being used.
- subroutine archaic_param_name_message(varname, old_name, new_name_used, same_value)
Issue error messages or warnings about the use of an archaic parameter name.
- Parameters
varname [in]
The case-sensitive name of the parameter to read
old_name [in]
The case-sensitive archaic name of the parameter
new_name_used [in]
True if varname is used in the parameter file.
same_value [in]
True if varname and old_name give the same values.
Callees call graph
Callers call graph
Text view
mom_file_parser::get_param_char → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_char_array → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_int → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_int_array → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_logical → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_real → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_real_array → mom_file_parser::archaic_param_name_message
mom_file_parser::get_param_time → mom_file_parser::archaic_param_name_message
- subroutine clearParameterBlock(CS)
Resets the parameter block name to blank
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
Callees call graph
Callers call graph
Text view
mom_file_parser_tests::test_clear_unallocated_block → mom_file_parser::clearparameterblock
mom_file_parser_tests::test_read_param_block → mom_file_parser::clearparameterblock
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::clearparameterblock
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::clearparameterblock
- subroutine openParameterBlock(CS, blockName, desc, do_not_log)
Tags blockName onto the end of the active parameter block name
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
blockName [in]
The name of a parameter block being added
desc [in]
A description of the parameter block being added
do_not_log [in]
Log block entry if true. This only prevents logging of entry to the block, and not the contents.
Callees call graph
Callers call graph
Text view
baroclinic_zone_initialization::bcz_params → mom_file_parser::openparameterblock
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::openparameterblock
mom_cvmix_ddiff::cvmix_ddiff_init → mom_file_parser::openparameterblock
mom_cvmix_kpp::kpp_init → mom_file_parser::openparameterblock
mom_file_parser_tests::test_open_unallocated_block → mom_file_parser::openparameterblock
mom_file_parser_tests::test_read_param_block → mom_file_parser::openparameterblock
mom_file_parser_tests::test_read_param_block_close_unnamed → mom_file_parser::openparameterblock
mom_file_parser_tests::test_read_param_block_empty_pop → mom_file_parser::openparameterblock
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::openparameterblock
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::openparameterblock
mom_mixed_layer_restrat::mixedlayer_restrat_init → mom_file_parser::openparameterblock
mom_mixed_layer_restrat::mixedlayer_restrat_register_restarts → mom_file_parser::openparameterblock
mom_set_visc::set_visc_register_restarts → mom_file_parser::openparameterblock
- subroutine closeParameterBlock(CS)
Remove the lowest level of recursion from the active block name
- Parameters
CS [in]
The control structure for the file_parser module, it is also a structure to parse for run-time parameters
Callees call graph
Callers call graph
Text view
baroclinic_zone_initialization::bcz_params → mom_file_parser::closeparameterblock
mom_cvmix_conv::cvmix_conv_init → mom_file_parser::closeparameterblock
mom_cvmix_ddiff::cvmix_ddiff_init → mom_file_parser::closeparameterblock
mom_cvmix_kpp::kpp_init → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_close_unallocated_block → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_read_param_block → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_read_param_block_close_unnamed → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_read_param_block_empty_pop → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_read_param_block_inline_stack → mom_file_parser::closeparameterblock
mom_file_parser_tests::test_read_param_block_stack → mom_file_parser::closeparameterblock
mom_mixed_layer_restrat::mixedlayer_restrat_init → mom_file_parser::closeparameterblock
mom_mixed_layer_restrat::mixedlayer_restrat_register_restarts → mom_file_parser::closeparameterblock
mom_set_visc::set_visc_register_restarts → mom_file_parser::closeparameterblock
- function pushBlockLevel(oldblockName, newBlockName)
Extends block name (deeper level of parameter block)
- Parameters
oldBlockName [in]
A sequence of hierarchical parameter block names
newBlockName [in]
A new block name to add to the end of the sequence
Callers call graph
- function popBlockLevel(oldblockName)
Truncates block name (shallower level of parameter block)
- Parameters
oldBlockName [in]
A sequence of hierarchical parameter block names