Class roughlen_landoceancontrast
In: surface_properties/roughlen_landoceancontrast.f90

Methods

Included Modules

dc_types gridset

Public Instance methods

Subroutine :
xy_SurfCond( 0:imax-1, 1:jmax ) :integer , intent(in )
xy_RoughLen( 0:imax-1, 1:jmax ) :real(DP), intent(inout)

[Source]

  subroutine SetRoughLenLandOceanContrast( xy_SurfCond, xy_RoughLen )

    ! モジュール引用 ; USE statements
    !

    ! 種別型パラメタ
    ! Kind type parameter
    !
    use dc_types, only: DP, STRING     ! 文字列.       Strings.

    ! 格子点設定
    ! Grid points settings
    !
    use gridset, only: imax, jmax, kmax    ! 鉛直層数.
                               ! Number of vertical level


    integer , intent(in   ) :: xy_SurfCond( 0:imax-1, 1:jmax )
    real(DP), intent(inout) :: xy_RoughLen( 0:imax-1, 1:jmax )

    ! 作業変数
    ! Work variables
    !
    integer:: i               ! 経度方向に回る DO ループ用作業変数
                              ! Work variables for DO loop in longitude
    integer:: j               ! 緯度方向に回る DO ループ用作業変数
                              ! Work variables for DO loop in latitude

    do j = 1, jmax
      do i = 0, imax-1

        if( xy_SurfCond( i, j ) == 0 ) then
          xy_RoughLen( i, j ) = 1.0d-4
        else
          xy_RoughLen( i, j ) = 1.0d-1
        end if

      end do
    end do


  end subroutine SetRoughLenLandOceanContrast