MOM6
|
Provides a transparent unit rescaling type to facilitate dimensional consistency testing.
Data Types | |
type | unit_scale_type |
Describes various unit conversion factors. More... | |
Functions/Subroutines | |
subroutine, public | unit_scaling_init (param_file, US) |
Allocates and initializes the ocean model unit scaling type. More... | |
subroutine, public | fix_restart_unit_scaling (US) |
Set the unit scaling factors for output to restart files to the unit scaling factors for this run. More... | |
subroutine, public | unit_scaling_end (US) |
Deallocates a unit scaling structure. More... | |
subroutine, public mom_unit_scaling::fix_restart_unit_scaling | ( | type(unit_scale_type), intent(inout) | US | ) |
Set the unit scaling factors for output to restart files to the unit scaling factors for this run.
[in,out] | us | A dimensional unit scaling type |
Definition at line 123 of file MOM_unit_scaling.F90.
Referenced by mom::finish_mom_initialization(), and mom_ice_shelf::initialize_ice_shelf().
subroutine, public mom_unit_scaling::unit_scaling_end | ( | type(unit_scale_type), pointer | US | ) |
Deallocates a unit scaling structure.
us | A dimensional unit scaling type |
Definition at line 134 of file MOM_unit_scaling.F90.
Referenced by mom::mom_end().
subroutine, public mom_unit_scaling::unit_scaling_init | ( | type(param_file_type), intent(in) | param_file, |
type(unit_scale_type), pointer | US | ||
) |
Allocates and initializes the ocean model unit scaling type.
[in] | param_file | Parameter file handle/type |
us | A dimensional unit scaling type |
Definition at line 44 of file MOM_unit_scaling.F90.
References mom_error_handler::mom_error().
Referenced by mom_oda_driver_mod::init_oda(), and mom_ice_shelf::initialize_ice_shelf().