Class | saturate_major_comp |
In: |
saturate/saturate_major_comp.f90
|
Note that Japanese and English are described in parallel.
!$ ! DryConvAdjust : | ä¹¾ç�¥å�æµ�調ç� |
!$ ! ———— : | ———— |
!$ ! DryConvAdjust : | Dry convective adjustment |
NAMELIST#saturate_major_comp_nml
Subroutine : | |||
xy_Press(:,:) : | real(DP), intent(in )
| ||
xy_TempCond(:,:) : | real(DP), intent(out)
|
主æ�����¸å���
Major component phase change
Alias for SaturateMajorCompCalcCondTemp2D
Subroutine : | |||
xyz_Press(:,:,:) : | real(DP), intent(in )
| ||
xyz_TempCond(:,:,:) : | real(DP), intent(out)
|
主æ�����¸å���
Major component phase change
Alias for SaturateMajorCompCalcCondTemp3D
Subroutine : | |||
CondMajCompName : | character(*), intent(in)
|
saturate_major_comp �¢ã�¸ã�¥ã�¼ã������������è¡����¾ã��. NAMELIST#saturate_major_comp_nml ����¿è¾¼�¿ã��������ç¶����§è�����¾ã��.
"saturate_major_comp" module is initialized. "NAMELIST#saturate_major_comp_nml" is loaded in this procedure.
subroutine SaturateMajorCompInit( CondMajCompName ) ! ! saturate_major_comp �¢ã�¸ã�¥ã�¼ã������������è¡����¾ã��. ! NAMELIST#saturate_major_comp_nml ����¿è¾¼�¿ã��������ç¶����§è�����¾ã��. ! ! "saturate_major_comp" module is initialized. ! "NAMELIST#saturate_major_comp_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 != != CO2 condensation temperature (Pollack et al., 1981) ! use saturate_co2_p81, only : SaturateCO2P81Init ! 宣è��� ; 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 /saturate_major_comp_nml/ & !!$ & FlagUse ! �����������¤ã���¤ã��������������ç¶� "saturate_major_comp#MajorCompSaturateInit" ! ���½ã�¼ã�¹ã�³ã�¼ã�������§ã������. ! ! Refer to source codes in the initialization procedure ! "saturate_major_comp#MajorCompSaturateInit" for the default values. ! ! å®�è¡��� ; Executable statement ! if ( saturate_major_comp_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 = saturate_major_comp_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 ! Initialization of modules called in this module ! != != CO2 condensation temperature (Pollack et al., 1981) ! call SaturateCO2P81Init ! �°å� ; Print ! call MessageNotify( 'M', module_name, '----- Initialization Messages -----' ) call MessageNotify( 'M', module_name, '-- version = %c', c1 = trim(version) ) saturate_major_comp_inited = .true. end subroutine SaturateMajorCompInit
Function : | |
LatentHeat : | real(DP) |
主æ��������±ã��è¿������¾ã��.
Inquiry of latent heat of major component
function SaturateMajorCompInqLatentHeat( ) 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. saturate_major_comp_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 SaturateMajorCompInqLatentHeat
Variable : | |||
saturate_major_comp_inited = .false. : | logical, save, public
|
Constant : | |||
LatentHeatCO2Subl = 5.9d5 : | real(DP), parameter
|
Subroutine : | |||
xy_Press(:,:) : | real(DP), intent(in )
| ||
xy_TempCond(:,:) : | real(DP), intent(out)
|
主æ�����¸å���
Major component phase change
subroutine SaturateMajorCompCalcCondTemp2D( xy_Press, xy_TempCond ) ! ! 主æ�����¸å��� ! ! Major component phase change ! ! �¢ã�¸ã�¥ã�¼ã����� ; USE statements ! ! 宣è��� ; Declaration statements ! implicit none real(DP), intent(in ):: xy_Press (:,:) ! $ p $ . æ°��� (�´æ�°ã������). ! Air pressure (full level) real(DP), intent(out):: xy_TempCond(:,:) ! ! Condensation temperature ! ä½�æ¥å��� ! Work variables ! real(DP) :: xyz_Press (size(xy_Press ,1),size(xy_Press ,2),1) real(DP) :: xyz_TempCond(size(xy_TempCond,1),size(xy_TempCond,2),1) ! å®�è¡��� ; Executable statement ! ! ������ ! Initialization ! if ( .not. saturate_major_comp_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if xyz_Press(:,:,1) = xy_Press call SaturateMajorCompCalcCondTemp3D( xyz_Press, xyz_TempCond ) xy_TempCond = xyz_TempCond(:,:,1) end subroutine SaturateMajorCompCalcCondTemp2D
Subroutine : | |||
xyz_Press(:,:,:) : | real(DP), intent(in )
| ||
xyz_TempCond(:,:,:) : | real(DP), intent(out)
|
主æ�����¸å���
Major component phase change
subroutine SaturateMajorCompCalcCondTemp3D( xyz_Press, xyz_TempCond ) ! ! 主æ�����¸å��� ! ! Major component phase change ! ! �¢ã�¸ã�¥ã�¼ã����� ; USE statements ! != != CO2 condensation temperature (Pollack et al., 1981) ! use saturate_co2_p81, only : xyz_SaturateCO2P81TempCond ! 宣è��� ; Declaration statements ! implicit none real(DP), intent(in ):: xyz_Press (:,:,:) ! $ p $ . æ°��� (�´æ�°ã������). ! Air pressure (full level) real(DP), intent(out):: xyz_TempCond(:,:,:) ! ! Condensation temperature ! ä½�æ¥å��� ! Work variables ! ! å®�è¡��� ; Executable statement ! ! ������ ! Initialization ! if ( .not. saturate_major_comp_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if select case ( IndexSpc ) case ( IndexSpcCO2 ) ! CO2 condensation temperature xyz_TempCond = xyz_SaturateCO2P81TempCond( xyz_Press ) end select end subroutine SaturateMajorCompCalcCondTemp3D
Constant : | |||
module_name = ‘saturate_major_comp‘ : | character(*), parameter
|
Constant : | |||
version = ’$Name: $’ // ’$Id: saturate_major_comp.f90,v 1.1 2013/09/30 02:55:27 yot Exp $’ : | character(*), parameter
|