|
MOM6
|
Provides a mechanism for recording diagnostic variables that are no longer valid, along with their replacement name if appropriate.
Functions/Subroutines | |
| subroutine, public | register_obsolete_diagnostics (param_file, diag) |
| Scan through the diag_table searching for obsolete parameters and issue informational messages and optionallly a FATAL error. More... | |
| logical function | found_in_diagtable (diag, varName, newVarName) |
| Fakes a register of a diagnostic to find out if an obsolete parameter appears in the diag_table. More... | |
|
private |
Fakes a register of a diagnostic to find out if an obsolete parameter appears in the diag_table.
| [in] | diag | A structure used to control diagnostics. |
| [in] | varname | The obsolete diagnostic name |
| [in] | newvarname | The valid name of this diagnostic |
Definition at line 67 of file MOM_obsolete_diagnostics.F90.
References mom_error_handler::is_root_pe(), and mom_error_handler::mom_error().
Referenced by register_obsolete_diagnostics().
| subroutine, public mom_obsolete_diagnostics::register_obsolete_diagnostics | ( | type(param_file_type), intent(in) | param_file, |
| type(diag_ctrl), intent(in) | diag | ||
| ) |
Scan through the diag_table searching for obsolete parameters and issue informational messages and optionallly a FATAL error.
| [in] | param_file | The parameter file handle. |
| [in] | diag | A structure used to control diagnostics. |
Definition at line 23 of file MOM_obsolete_diagnostics.F90.
References found_in_diagtable(), mom_error_handler::is_root_pe(), and mom_error_handler::mom_error().
Referenced by mom::initialize_mom().