⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mf2mr.f90

📁 CCSM Research Tools: Community Atmosphere Model (CAM)
💻 F90
字号:
#include <misc.h>#include <params.h>subroutine mf2mr( lchnk, ncol, q3 )!----------------------------------------------------------------------- ! ! Purpose: ! Convert mass fractions of the non-water trace species to mixing ratio.! ! Method: ! ! Author: J. Olson! !-----------------------------------------------------------------------!! $Id: mf2mr.F90,v 1.1 2001/09/16 22:13:44 rosinski Exp $! $Author: rosinski $!!-----------------------------------------------------------------------  use precision  use ppgrid  use dycore,  only: dycore_is  use tracers, only: pcnst, pnats  implicit none!------------------------------Arguments--------------------------------  integer, intent(in) :: lchnk                          ! chunk identifier  integer, intent(in) :: ncol                           ! number of atmospheric columns  real(r8), intent(inout) :: q3(pcols,pver,pcnst+pnats) ! Constituent mass fraction!-----------------------------------------------------------------------!---------------------------Local variables-----------------------------  integer :: m             ! constituent indices!-----------------------------------------------------------------------!! LR: Do nothing here as suggested by Phil Rasch                                        !  if (.not. dycore_is ('LR')) then     do m = 2,pcnst+pnats        q3(:ncol,:pver,m) = q3(:ncol,:pver,m)/ (1. - q3(:ncol,:pver,1))     end do  end if!  returnend subroutine mf2mr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -