monthly_interp Subroutine

public subroutine monthly_interp(month_idx, in_field, out_field, month_fraction, n_months)

Performs linear interpolation on the time dimension. This function does not wrap the indexes around the month 1 or 12.

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: month_idx

The month

real(kind=p), intent(in) :: in_field(ix,il,0:n_months-1)

The input field

real(kind=p), intent(inout) :: out_field(ix,il)

The output field

real(kind=p), intent(in) :: month_fraction

The fraction of the current month elapsed

integer, intent(in) :: n_months

Called by

proc~~monthly_interp~~CalledByGraph proc~monthly_interp monthly_interp proc~couple_sea_atm couple_sea_atm proc~couple_sea_atm->proc~monthly_interp proc~couple_sea_land couple_sea_land proc~couple_sea_land->proc~couple_sea_atm proc~initialize_coupler initialize_coupler proc~initialize_coupler->proc~couple_sea_atm proc~do_single_step do_single_step proc~do_single_step->proc~couple_sea_land proc~initialize_state initialize_state proc~initialize_state->proc~initialize_coupler proc~init init proc~init->proc~initialize_state proc~step~2 step proc~step~2->proc~do_single_step

Contents

None