Class | major_comp_saturate |
In: |
saturate/major_comp_saturate.f90
|
Note that Japanese and English are described in parallel.
!$ ! DryConvAdjust : | 乾燥対流調節 |
!$ ! ———— : | ———— |
!$ ! DryConvAdjust : | Dry convective adjustment |
NAMELIST#major_comp_saturate_nml
Subroutine : | |||
xy_Press(0:imax-1, 1:jmax) : | real(DP), intent(in )
| ||
xy_TempCond(0:imax-1, 1:jmax) : | real(DP), intent(out)
|
主成分相変化
Major component phase change
Alias for MajorCompSaturateCalcCondTemp2D
Subroutine : | |||
xyz_Press(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(in )
| ||
xyz_TempCond(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(out)
|
主成分相変化
Major component phase change
Alias for MajorCompSaturateCalcCondTemp3D
Subroutine : | |||
CondMajCompName : | character(*), intent(in)
|
major_comp_saturate モジュールの初期化を行います. NAMELIST#major_comp_saturate_nml の読み込みはこの手続きで行われます.
"major_comp_saturate" module is initialized. "NAMELIST#major_comp_saturate_nml" is loaded in this procedure.
subroutine MajorCompSaturateInit( CondMajCompName ) ! ! major_comp_saturate モジュールの初期化を行います. ! NAMELIST#major_comp_saturate_nml の読み込みはこの手続きで行われます. ! ! "major_comp_saturate" module is initialized. ! "NAMELIST#major_comp_saturate_nml" is loaded in this procedure. ! ! モジュール引用 ; USE statements ! !!$ ! NAMELIST ファイル入力に関するユーティリティ !!$ ! Utilities for NAMELIST file input !!$ ! !!$ use namelist_util, only: namelist_filename, NmlutilMsg, NmlutilAryValid !!$ !!$ ! ファイル入出力補助 !!$ ! File I/O support !!$ ! !!$ use dc_iounit, only: FileOpen !!$ !!$ ! 種別型パラメタ !!$ ! Kind type parameter !!$ ! !!$ use dc_types, only: STDOUT ! 標準出力の装置番号. Unit number of standard output ! 文字列操作 ! Character handling ! use dc_string, only: StoA ! 宣言文 ; Declaration statements ! implicit none character(*), intent(in) :: CondMajCompName ! Condensable major component !!$ integer:: unit_nml ! NAMELIST ファイルオープン用装置番号. !!$ ! Unit number for NAMELIST file open !!$ integer:: iostat_nml ! NAMELIST 読み込み時の IOSTAT. !!$ ! IOSTAT of NAMELIST read ! NAMELIST 変数群 ! NAMELIST group name ! !!$ namelist /major_comp_saturate_nml/ & !!$ & FlagUse ! デフォルト値については初期化手続 "major_comp_saturate#MajorCompSaturateInit" ! のソースコードを参照のこと. ! ! Refer to source codes in the initialization procedure ! "major_comp_saturate#MajorCompSaturateInit" for the default values. ! ! 実行文 ; Executable statement ! if ( major_comp_saturate_inited ) return ! デフォルト値の設定 ! Default values settings ! ! NAMELIST の読み込み ! NAMELIST is input ! !!$ if ( trim(namelist_filename) /= '' ) then !!$ call FileOpen( unit_nml, & ! (out) !!$ & namelist_filename, mode = 'r' ) ! (in) !!$ !!$ rewind( unit_nml ) !!$ read( unit_nml, & ! (in) !!$ & nml = major_comp_saturate_nml, & ! (out) !!$ & iostat = iostat_nml ) ! (out) !!$ close( unit_nml ) !!$ !!$ call NmlutilMsg( iostat_nml, module_name ) ! (in) !!$! if ( iostat_nml == 0 ) write( STDOUT, nml = cumulus_adjust_nml ) !!$ end if ! Set index select case ( CondMajCompName ) case ( 'CO2' ) IndexSpc = IndexSpcCO2 case default call MessageNotify( 'E', module_name, 'This specice is not supported.' ) end select ! 印字 ; Print ! call MessageNotify( 'M', module_name, '----- Initialization Messages -----' ) call MessageNotify( 'M', module_name, '-- version = %c', c1 = trim(version) ) major_comp_saturate_inited = .true. end subroutine MajorCompSaturateInit
Function : | |
LatentHeat : | real(DP) |
主成分の潜熱を返しします.
Inquiry of latent heat of major component
function MajorCompSaturateInqLatentHeat( ) result( LatentHeat ) ! ! 主成分の潜熱を返しします. ! ! Inquiry of latent heat of major component ! ! モジュール引用 ; USE statements ! ! メッセージ出力 ! Message output ! use dc_message, only: MessageNotify ! 宣言文 ; Declaration statements ! implicit none real(DP) :: LatentHeat ! 実行文 ; Executable statement ! ! 初期化 ! Initialization ! if ( .not. major_comp_saturate_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if ! Set latent heat select case ( IndexSpc ) case ( IndexSpcCO2 ) LatentHeat = LatentHeatCO2Subl case default call MessageNotify( 'E', module_name, 'This specice is not supported.' ) end select end function MajorCompSaturateInqLatentHeat
Variable : | |||
major_comp_saturate_inited = .false. : | logical, save, public
|
Subroutine : | |||
xy_Press(0:imax-1, 1:jmax) : | real(DP), intent(in )
| ||
xy_TempCond(0:imax-1, 1:jmax) : | real(DP), intent(out)
|
CO2 相変化
CO2 phase change
subroutine CalcCO2CondTemp2D( xy_Press, xy_TempCond ) ! ! CO2 相変化 ! ! CO2 phase change ! ! モジュール引用 ; USE statements ! ! 宣言文 ; Declaration statements ! implicit none real(DP), intent(in ):: xy_Press (0:imax-1, 1:jmax) ! $ p $ . 気圧 (整数レベル). ! Air pressure (full level) real(DP), intent(out):: xy_TempCond(0:imax-1, 1:jmax) ! ! Condensation temperature ! 作業変数 ! Work variables ! ! 実行文 ; Executable statement ! ! 初期化 ! Initialization ! if ( .not. major_comp_saturate_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if xy_TempCond = 149.2_DP + 6.48_DP * log( 0.135_DP * xy_Press * 1.0d-2 ) end subroutine CalcCO2CondTemp2D
Subroutine : | |||
xyz_Press(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(in )
| ||
xyz_TempCond(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(out)
|
CO2 相変化
CO2 phase change
subroutine CalcCO2CondTemp3D( xyz_Press, xyz_TempCond ) ! ! CO2 相変化 ! ! CO2 phase change ! ! モジュール引用 ; USE statements ! ! 宣言文 ; Declaration statements ! implicit none real(DP), intent(in ):: xyz_Press (0:imax-1, 1:jmax, 1:kmax) ! $ p $ . 気圧 (整数レベル). ! Air pressure (full level) real(DP), intent(out):: xyz_TempCond(0:imax-1, 1:jmax, 1:kmax) ! ! Condensation temperature ! 作業変数 ! Work variables ! ! 実行文 ; Executable statement ! ! 初期化 ! Initialization ! if ( .not. major_comp_saturate_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if xyz_TempCond = 149.2_DP + 6.48_DP * log( 0.135_DP * xyz_Press * 1.0d-2 ) end subroutine CalcCO2CondTemp3D
Constant : | |||
LatentHeatCO2Subl = 5.9d5 : | real(DP), parameter
|
Subroutine : | |||
xy_Press(0:imax-1, 1:jmax) : | real(DP), intent(in )
| ||
xy_TempCond(0:imax-1, 1:jmax) : | real(DP), intent(out)
|
主成分相変化
Major component phase change
subroutine MajorCompSaturateCalcCondTemp2D( xy_Press, xy_TempCond ) ! ! 主成分相変化 ! ! Major component phase change ! ! モジュール引用 ; USE statements ! ! 宣言文 ; Declaration statements ! implicit none real(DP), intent(in ):: xy_Press (0:imax-1, 1:jmax) ! $ p $ . 気圧 (整数レベル). ! Air pressure (full level) real(DP), intent(out):: xy_TempCond(0:imax-1, 1:jmax) ! ! Condensation temperature ! 作業変数 ! Work variables ! ! 実行文 ; Executable statement ! ! 初期化 ! Initialization ! if ( .not. major_comp_saturate_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if select case ( IndexSpc ) case ( IndexSpcCO2 ) call CalcCO2CondTemp2D( xy_Press, xy_TempCond ) end select end subroutine MajorCompSaturateCalcCondTemp2D
Subroutine : | |||
xyz_Press(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(in )
| ||
xyz_TempCond(0:imax-1, 1:jmax, 1:kmax) : | real(DP), intent(out)
|
主成分相変化
Major component phase change
subroutine MajorCompSaturateCalcCondTemp3D( xyz_Press, xyz_TempCond ) ! ! 主成分相変化 ! ! Major component phase change ! ! モジュール引用 ; USE statements ! ! 宣言文 ; Declaration statements ! implicit none real(DP), intent(in ):: xyz_Press (0:imax-1, 1:jmax, 1:kmax) ! $ p $ . 気圧 (整数レベル). ! Air pressure (full level) real(DP), intent(out):: xyz_TempCond(0:imax-1, 1:jmax, 1:kmax) ! ! Condensation temperature ! 作業変数 ! Work variables ! ! 実行文 ; Executable statement ! ! 初期化 ! Initialization ! if ( .not. major_comp_saturate_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if select case ( IndexSpc ) case ( IndexSpcCO2 ) call CalcCO2CondTemp3D( xyz_Press, xyz_TempCond ) end select end subroutine MajorCompSaturateCalcCondTemp3D
Constant : | |||
module_name = ‘major_comp_saturate‘ : | character(*), parameter
|
Constant : | |||
version = ’$Name: dcpam5-20121110 $’ // ’$Id: major_comp_saturate.f90,v 1.1 2012-09-08 15:16:39 yot Exp $’ : | character(*), parameter
|