namespace mom_unit_scaling

Overview

Provides a transparent unit rescaling type to facilitate dimensional consistency testing. More…

namespace mom_unit_scaling {

// global functions

subroutine, public unit_scaling_init(param_file param_file, US US);
subroutine, public fix_restart_unit_scaling(US US);
subroutine, public unit_scaling_end(US US);

} // namespace mom_unit_scaling

Detailed Documentation

Provides a transparent unit rescaling type to facilitate dimensional consistency testing.

Global Functions

subroutine, public unit_scaling_init(param_file param_file, US US)

Allocates and initializes the ocean model unit scaling type.

Parameters:

param_file

Parameter file handle/type

us

A dimensional unit scaling type

subroutine, public fix_restart_unit_scaling(US US)

Set the unit scaling factors for output to restart files to the unit scaling factors for this run.

Parameters:

us

A dimensional unit scaling type

subroutine, public unit_scaling_end(US US)

Deallocates a unit scaling structure.

Parameters:

us

A dimensional unit scaling type