Class | saturate_co2_p81 |
In: |
saturate/saturate_co2_p81.f90
|
Note that Japanese and English are described in parallel.
!$ ! DryConvAdjust : | ä¹¾ç�¥å�æµ�調ç� |
!$ ! ———— : | ———— |
!$ ! DryConvAdjust : | Dry convective adjustment |
NAMELIST#major_comp_saturate_nml
Subroutine : |
saturate_co2_p81 �¢ã�¸ã�¥ã�¼ã������������è¡����¾ã��. NAMELIST#saturate_co2_p81_nml ����¿è¾¼�¿ã��������ç¶����§è�����¾ã��.
"saturate_co2_p81" module is initialized. "NAMELIST#saturate_co2_p81_nml" is loaded in this procedure.
subroutine SaturateCO2P81Init ! ! saturate_co2_p81 �¢ã�¸ã�¥ã�¼ã������������è¡����¾ã��. ! NAMELIST#saturate_co2_p81_nml ����¿è¾¼�¿ã��������ç¶����§è�����¾ã��. ! ! "saturate_co2_p81" module is initialized. ! "NAMELIST#saturate_co2_p81_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 !!$ 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 ( saturate_co2_p81_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 ! �°å� ; Print ! call MessageNotify( 'M', module_name, '----- Initialization Messages -----' ) call MessageNotify( 'M', module_name, '-- version = %c', c1 = trim(version) ) saturate_co2_p81_inited = .true. end subroutine SaturateCO2P81Init
Variable : | |||
saturate_co2_p81_inited = .false. : | logical, save, public
|
Function : | |||
xyz_TempCond(size(xyz_Press,1), size(xyz_Press,2), size(xyz_Press,3)) : | real(DP)
| ||
xyz_Press(:,:,:) : | real(DP), intent(in )
|
CO2 �¸å���
CO2 phase change
function xyz_SaturateCO2P81TempCond( xyz_Press ) result( xyz_TempCond ) ! ! CO2 �¸å��� ! ! CO2 phase change ! ! �¢ã�¸ã�¥ã�¼ã����� ; USE statements ! ! 宣è��� ; Declaration statements ! implicit none real(DP), intent(in ):: xyz_Press (:,:,:) ! $ p $ . æ°��� (�´æ�°ã������). ! Air pressure (full level) real(DP) :: xyz_TempCond(size(xyz_Press,1), size(xyz_Press,2), size(xyz_Press,3)) ! ! Condensation temperature ! ä½�æ¥å��� ! Work variables ! ! å®�è¡��� ; Executable statement ! ! ������ ! Initialization ! if ( .not. saturate_co2_p81_inited ) then call MessageNotify( 'E', module_name, 'This module has not been initialized.' ) end if ! CO2 condensation temperature (Pollack et al., 1981) xyz_TempCond = 149.2_DP + 6.48_DP * log( 0.135_DP * xyz_Press * 1.0e-2_DP ) end function xyz_SaturateCO2P81TempCond
Constant : | |||
module_name = ‘saturate_co2_p81‘ : | character(*), parameter
|
Constant : | |||
version = ’$Name: $’ // ’$Id: saturate_co2_p81.f90,v 1.2 2014/05/07 09:39:21 murashin Exp $’ : | character(*), parameter
|