Subroutine : |
|
xy_SurfAlbedo( 0:imax-1, 1:jmax ) : | real(DP), intent(in )
|
xy_SurfTemp( 0:imax-1, 1:jmax ) : | real(DP), intent(in )
|
xyr_Press( 0:imax-1, 1:jmax, 0:kmax ) : | real(DP), intent(in )
|
xyz_Press( 0:imax-1, 1:jmax, 1:kmax ) : | real(DP), intent(in )
|
xyz_Temp( 0:imax-1, 1:jmax, 1:kmax ) : | real(DP), intent(in )
|
xyz_QH2OVap( 0:imax-1, 1:jmax, 1:kmax ) : | real(DP), intent(in )
|
xyr_RadSUwFlux( 0:imax-1, 1:jmax, 0:kmax ) : | real(DP), intent(out)
|
xyr_RadSDwFlux( 0:imax-1, 1:jmax, 0:kmax ) : | real(DP), intent(out)
|
xyr_RadLUwFlux(0:imax-1, 1:jmax, 0:kmax) : | real(DP), intent(out)
|
xyr_RadLDwFlux(0:imax-1, 1:jmax, 0:kmax) : | real(DP), intent(out)
|
xyra_DelRadLUwFlux(0:imax-1, 1:jmax, 0:kmax, 0:1) : | real(DP), intent(out)
|
xyra_DelRadLDwFlux(0:imax-1, 1:jmax, 0:kmax, 0:1) : | real(DP), intent(out)
|
subroutine RadSimpleFlux( xy_SurfAlbedo, xy_SurfTemp, xyr_Press, xyz_Press, xyz_Temp, xyz_QH2OVap, xyr_RadSUwFlux, xyr_RadSDwFlux, xyr_RadLUwFlux, xyr_RadLDwFlux, xyra_DelRadLUwFlux, xyra_DelRadLDwFlux )
! USE statements
!
! メッセージ出力
! Message output
!
use dc_message, only: MessageNotify
! 物理・数学定数設定
! Physical and mathematical constants settings
!
use constants0, only: PI ! $ \pi $ .
! 円周率. Circular constant
!
! Physical constants settings
!
use constants, only: Grav ! $ g $ [m s-2].
!
! Gravitational acceleration
! 座標データ設定
! Axes data settings
!
use axesset, only : y_Lat
! 簡単短波放射モデル Ver. 2.0
! simple short wave radiation model Ver. 2.0
!
use rad_simple_SW_V2_0, only : RadSimpleSWV20Flux
! 長波フラックスの計算
! Calculate long wave flux
!
use rad_simple_LW, only : RadSimpleLWFlux
real(DP), intent(in ) :: xy_SurfAlbedo( 0:imax-1, 1:jmax )
real(DP), intent(in ) :: xy_SurfTemp ( 0:imax-1, 1:jmax )
real(DP), intent(in ) :: xyr_Press ( 0:imax-1, 1:jmax, 0:kmax )
real(DP), intent(in ) :: xyz_Press ( 0:imax-1, 1:jmax, 1:kmax )
real(DP), intent(in ) :: xyz_Temp ( 0:imax-1, 1:jmax, 1:kmax )
real(DP), intent(in ) :: xyz_QH2OVap ( 0:imax-1, 1:jmax, 1:kmax )
real(DP), intent(out) :: xyr_RadSUwFlux ( 0:imax-1, 1:jmax, 0:kmax )
real(DP), intent(out) :: xyr_RadSDwFlux ( 0:imax-1, 1:jmax, 0:kmax )
real(DP), intent(out) :: xyr_RadLUwFlux (0:imax-1, 1:jmax, 0:kmax)
real(DP), intent(out) :: xyr_RadLDwFlux (0:imax-1, 1:jmax, 0:kmax)
real(DP), intent(out) :: xyra_DelRadLUwFlux(0:imax-1, 1:jmax, 0:kmax, 0:1)
real(DP), intent(out) :: xyra_DelRadLDwFlux(0:imax-1, 1:jmax, 0:kmax, 0:1)
! Work variables
!
real(DP) :: DistFromStarScld
! Distance between the central star and the planet
real(DP) :: DiurnalMeanFactor
real(DP) :: SolarConst
real(DP) :: SolarFluxTOA
!!$ real(DP) :: QeRatio
real(DP) :: xyz_SSA (0:imax-1, 1:jmax, 1:kmax)
real(DP) :: xyz_AF (0:imax-1, 1:jmax, 1:kmax)
real(DP) :: xy_InAngle (0:imax-1, 1:jmax)
real(DP) :: xyz_DelAtmMass(0:imax-1, 1:jmax, 1:kmax)
real(DP) :: xyr_OptDep (0:imax-1, 1:jmax, 0:kmax)
real(DP) :: xy_SurfAlbedoLW(0:imax-1, 1:jmax)
real(DP) :: xy_SurfEmis (0:imax-1, 1:jmax)
integer :: k
! 初期化
! Initialization
!
if ( .not. rad_Simple_inited ) then
call MessageNotify( 'E', module_name, 'This module has not been initialized.' )
end if
do k = 1, kmax
xyz_DelAtmMass(:,:,k) = ( xyr_Press(:,:,k-1) - xyr_Press(:,:,k ) ) / Grav
end do
! Short wave radiation
!
! 簡単短波放射モデル Ver. 2.0
! simple short wave radiation model Ver. 2.0
!
call RadSimpleSWV20Flux( xy_SurfAlbedo, xyz_Press, xyz_DelAtmMass, xyz_QH2OVap, xyr_RadSUwFlux, xyr_RadSDwFlux )
! Long wave radiation
!
xy_SurfAlbedoLW = 0.0_DP
xy_SurfEmis = 1.0_DP
call RadSimpleLWFlux( xy_SurfAlbedoLW, xy_SurfEmis, xyr_Press, xyz_Press, xyz_Temp, xy_SurfTemp, xyz_DelAtmMass, xyz_QH2OVap, xyr_RadLUwFlux, xyr_RadLDwFlux, xyra_DelRadLUwFlux, xyra_DelRadLDwFlux )
end subroutine RadSimpleFlux