亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? history.f90

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F90
?? 第 1 頁 / 共 5 頁
字號:
! Method: Loop over tapes and fields per tape setting appropriate variables and!         calling appropriate routines! ! Author: CCM Core Group! !-----------------------------------------------------------------------      use ioFileMod      use time_manager, only: get_curr_date, get_curr_time#if ( defined SPMD )      use mpishorthand#endif!-----------------------------------------------------------------------#include <comctl.h>!-----------------------------------------------------------------------!! Local workspace!      integer :: t, f              ! tape, field indices      integer :: coldimin          ! column dimension of model array      integer :: begver            ! on-node vert start index      integer :: endver            ! on-node vert end index      integer :: begdim3           ! on-node chunk or lat start index      integer :: enddim3           ! on-node chunk or lat end index      type (dim_index_3d) :: dimind  ! 3-D dimension index      integer :: day, sec          ! day and seconds from base date      integer :: i                 ! index!! Get users logname and machine hostname!      if ( masterproc )then         logname = ' '         call getenv ('LOGNAME',logname)         if (logname=='        ') then            write(6,*)'PARSE_NAMELIST: Cannot find LOGNAME environment variable'            call endrun         end if         host = ' '         call getenv ('HOST',host)      end if!! Set default history history contents!      call h_default ()!! Override averaging flag for all fields on a particular tape if namelist input so specifies!      do t=1,ptapes         if (avgflag_pertape(t) /= ' ') then            call h_override (t)         end if      end do!! Define field list information for all history files.  ! Update mtapes to reflect *current* number of history files (note, ! restart and regen runs can have additional auxiliary history files! declared).!      call fldlst ()!! Loop over max. no. of history files permitted  !      call get_curr_time(day, sec)  ! elapased time since reference date      do t=1,mtapes         nfils(t) = 0            ! no. of time samples in hist. file no. t! Time a beginning of current averaging interval.         beg_time(t) = day + sec/86400._r8      end do!! Check that the number of history files declared does not exceed! the maximum allowed.!      if (mtapes > ptapes) then         write(6,*) 'INTHT: Too many history files declared, max=',ptapes         write(6,*)'To increase, change parameter ptapes.'         call endrun      end if!! Initialize history variables!      do t=1,mtapes         do f=1,nflds(t)            coldimin = tape(t)%hlist(f)%field%coldimin            begver   = tape(t)%hlist(f)%field%begver            endver   = tape(t)%hlist(f)%field%endver            begdim3  = tape(t)%hlist(f)%field%begdim3            enddim3  = tape(t)%hlist(f)%field%enddim3            dimind = dim_index_3d (1,coldimin,begver,endver,begdim3,enddim3)            call allocate_hbuf (tape(t)%hlist(f)%hbuf,dimind,tape(t)%hlist(f)%hbuf_prec)            tape(t)%hlist(f)%hbuf = 0._r8            allocate (tape(t)%hlist(f)%nacs(coldimin,begdim3:enddim3))            do i = begdim3, enddim3               tape(t)%hlist(f)%nacs(:coldimin,i) = 0            end do         end do      end do            return   end subroutine intht!#######################################################################   subroutine write_restart_history (nrg, luhrest)      use binary_io      use ioFileMod#ifdef SPMD# if ( defined STAGGERED )      use spmd_dyn, only: npes, compute_gsfactors, comm_y      use pmgrid, only: myid_z, strip3dxzy, strip3dxzyp, strip2d, twod_decomp      use parutilitiesmodule, only: commglobal, pargatherreal, pargatherint, pargatherreal4# else      use spmd_dyn, only: npes, compute_gsfactors# endif      use mpishorthand#endif      use phys_grid, only: gather_chunk_to_field_int      use dycore, only: dycore_is!--------------------------------------------------------------------------------------------------!! Arguments!      integer, intent(in) :: nrg        ! unit number      integer, intent(in) :: luhrest    ! unit number!! Local workspace!      integer t,f                       ! Tape, field indices      integer numlev                    ! number of vertical levels (dimension and loop)      integer ioerr                     ! write error status      integer coldimin                  ! column dimension of model array      character(len=256) :: fname       ! History restart filename#ifdef SPMD      integer :: numsend                ! number of items to be sent      integer :: numrecv(0:npes-1)      ! number of items to be received      integer :: displs(0:npes-1)       ! displacement array      integer :: numowned               ! number of items owned by this MPI task      integer :: mpireal                ! MPI real data type#endif      type (hbuffer_3d) :: hbuf         ! full-field history buffer written by master      integer, pointer :: fullnacs(:,:) ! full-field accumulation counter written by master      type (dim_index_3d) :: dimind     ! 3-D dimension index!!-----------------------------------------------------------------------! Write the history restart data if necessary!-----------------------------------------------------------------------!      where (hstwr(:))         rgnht(:) = .false.      elsewhere         rgnht(:) = .true.      end where      if (masterproc) then         write (nrg) rgnht, mtapes, varid, fincl, fexcl      end if!! If a history tape is not currently being disposed then write a history buffer restart file.! History restart info: some f90 compilers (e.g. SGI) complain about I/O of derived types which ! have pointer components, so explicitly write each one.!      do t=1,mtapes         if (masterproc) then            write (nrg, iostat=ioerr) nhtfrq(t), nflds(t), nfils(t), mfilt(t), &                                      nfpath(t), cpath(t), nhfil(t),  &                                      nhstpr(t), ndens(t), ncprec(t), beg_time(t)            if (ioerr /= 0 ) then               write (6,*) 'WRITE ioerror ',ioerr,' on i/o unit = ',nrg               call endrun            end if            do f=1,nflds(t)               write (nrg,iostat=ioerr) tape(t)%hlist(f)%field%name,        &                                        tape(t)%hlist(f)%field%long_name,   &                                        tape(t)%hlist(f)%field%units,       &                                        tape(t)%hlist(f)%field%numlev,      &                                        tape(t)%hlist(f)%field%decomp_type, &                                        tape(t)%hlist(f)%avgflag,           &                                        tape(t)%hlist(f)%time_op,           &                                        tape(t)%hlist(f)%hbuf_prec,         &                                        tape(t)%hlist(f)%hwrt_prec               if (ioerr /= 0 ) then                  write(6,*)'WRITE_RESTART_HISTORY: End or error condition writing ', &                       'history restart field ',f,' from tape ',t                  call endrun               end if            end do         end if         if (rgnht(t)) then            if (masterproc) then               fname = interpret_filename_spec( rhfilename_spec, number=(t-1) )               hrestpath(t) = trim(get_archivedir('rest'))//fname               write (nrg,iostat=ioerr) hrestpath(t)               if (ioerr /= 0 ) then                  write(6,*)'WRITE_RESTART_HISTORY: End or error condition writing ', &                       'history restart filename to master restart file'                  call endrun               end if               call opnfil (fname, luhrest, 'u')            endif            do f=1,nflds(t)               coldimin =  tape(t)%hlist(f)%field%coldimin               numlev   =  tape(t)%hlist(f)%field%numlev#ifdef SPMD               if (masterproc) then                  dimind = dim_index_3d (1,plon,1,numlev,1,plat)                  call allocate_hbuf (hbuf,dimind,tape(t)%hlist(f)%hbuf_prec)                  allocate (fullnacs(plon,plat))               else                  call assoc_hbuf_with_nothing (hbuf,tape(t)%hlist(f)%hbuf_prec)                  fullnacs => nothing_int               end if               if (tape(t)%hlist(f)%hbuf_prec == 8) then                  mpireal = mpir8               else                  mpireal = mpir4               end if               select case (tape(t)%hlist(f)%field%decomp_type)               case (phys_decomp)                  call gather_chunk_to_field_hbuf (1, numlev, 1, plon, tape(t)%hlist(f)%hbuf, hbuf)                  call gather_chunk_to_field_int (1, 1, 1, plon, tape(t)%hlist(f)%nacs, fullnacs)               case (dyn_decomp)                  if ( dycore_is('LR') )then# if ( defined STAGGERED )! NEW LR CODING                     if (tape(t)%hlist(f)%hbuf_prec == 8) then                        select case (numlev)                        case (1)                           if (myid_z .eq. 0) call pargatherreal(comm_y, 0,  &                                  tape(t)%hlist(f)%hbuf%buf8, strip2d, hbuf%buf8)                        case (plev)                           call pargatherreal(commglobal, 0, tape(t)%hlist(f)%hbuf%buf8, &                                       strip3dxzy, hbuf%buf8)                        case (plevp)                           call pargatherreal(commglobal, 0, tape(t)%hlist(f)%hbuf%buf8, &                                       strip3dxzyp, hbuf%buf8)                        case default                           write(6,*)'WRITE_RESTART_HISTORY: invalid number of levels=', numlev                           call endrun ()                        end select                        if (myid_z .eq. 0) call pargatherint(comm_y, 0, &                           tape(t)%hlist(f)%nacs, strip2d, fullnacs)                     else                        select case (numlev)                        case (1)                           if (myid_z .eq. 0) call pargatherreal4(comm_y, 0,  &                                  tape(t)%hlist(f)%hbuf%buf4, strip2d, hbuf%buf4)                        case (plev)                           call pargatherreal4(commglobal, 0, tape(t)%hlist(f)%hbuf%buf4, &                                       strip3dxzy, hbuf%buf4)                        case (plevp)                           call pargatherreal4(commglobal, 0, tape(t)%hlist(f)%hbuf%buf4, &                                       strip3dxzyp, hbuf%buf4)                        case default                           write(6,*)'WRITE_RESTART_HISTORY: invalid number of levels=', numlev                           call endrun ()                        end select                        if (myid_z .eq. 0) call pargatherint(comm_y, 0, &                           tape(t)%hlist(f)%nacs, strip2d, fullnacs)                     endif# endif                  else                     numowned = coldimin*numlev                     call compute_gsfactors (numowned, numsend, numrecv, displs)                     call mpigatherv_hbuf (tape(t)%hlist(f)%hbuf, numsend, mpireal, hbuf, numrecv, &                                           displs, mpireal, 0, mpicom)                     numowned = coldimin                     call compute_gsfactors (numowned, numsend, numrecv, displs)                     call mpigatherv (tape(t)%hlist(f)%nacs, numsend, mpiint, fullnacs, numrecv, &                                      displs, mpiint, 0, mpicom)                  endif               end select               if (masterproc) then                  call write_hbuf (hbuf, luhrest, ioerr)                  call deallocate_hbuf (hbuf)                  write (luhrest,iostat=ioerr) fullnacs                  deallocate (fullnacs)               else                  call nullify_hbuf (hbuf)                  nullify (fullnacs)               end if#else               select case (tape(t)%hlist(f)%field%decomp_type)               case (phys_decomp)                  dimind = dim_index_3d (1,plon,1,numlev,1,plat)                  call allocate_hbuf (hbuf,dimind,tape(t)%hlist(f)%hbuf_prec)                  call gather_chunk_to_field_hbuf (1, numlev, 1, plon, tape(t)%hlist(f)%hbuf, hbuf)                  call write_hbuf (hbuf, luhrest, ioerr)                  call deallocate_hbuf (hbuf)                  allocate (fullnacs(plon,plat))                  call gather_chunk_to_field_int (1, 1, 1, plon, tape(t)%hlist(f)%nacs, fullnacs)                  write (luhrest,iostat=ioerr) fullnacs                  deallocate (fullnacs)               case (dyn_decomp)                  call write_hbuf (tape(t)%hlist(f)%hbuf, luhrest, ioerr)                  write (luhrest,iostat=ioerr) tape(t)%hlist(f)%nacs               end select#endif            end do            if (masterproc) close (unit=luhrest)         end if      end do      return   end subroutine write_restart_history!#######################################################################   subroutine read_restart_history (nrg, luhrest)      use ppgrid,    only: begchunk, endchunk      use phys_grid, only: get_ncols_p, scatter_field_to_chunk_int      use rgrid,     only: nlon      use dycore,    only: dycore_is      use binary_io      use ioFileMod#ifdef SPMD# if ( defined STAGGERED )      use pmgrid, only: strip3dxzy, strip3dxzyp, strip2d, twod_decomp      use restart_dynamics, only: lrreadin, lrreadini, lrreadin4# endif      use mpishorthand#endif!-----------------------------------------------------------------------#include <comctl.h>!-----------------------------------------------------------------------!

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人在线免费| 精品亚洲国内自在自线福利| 国产性做久久久久久| 精品电影一区二区| www激情久久| 国产校园另类小说区| 国产精品少妇自拍| 一区二区三区中文字幕电影| 亚洲国产日韩一区二区| 日韩综合在线视频| 国产一区二区美女| 9色porny自拍视频一区二区| 91福利国产成人精品照片| 欧美色图激情小说| 在线播放中文一区| 久久新电视剧免费观看| 国产精品久久久久久久久久久免费看| 欧美国产日韩亚洲一区| 亚洲激情图片一区| 毛片av一区二区| 99热99精品| 7777精品伊人久久久大香线蕉的 | 2017欧美狠狠色| 国产精品亲子乱子伦xxxx裸| 亚洲另类色综合网站| 国产高清精品网站| 91色婷婷久久久久合中文| 色综合天天综合网天天看片| 7799精品视频| 国产日韩v精品一区二区| 亚洲欧美日韩中文播放| 日本va欧美va欧美va精品| 国内精品免费在线观看| 色婷婷亚洲综合| 精品国产百合女同互慰| 综合电影一区二区三区 | 一级日本不卡的影视| 精品一区二区三区的国产在线播放 | 国产在线国偷精品免费看| 一本色道久久加勒比精品| 日韩欧美一级在线播放| 亚洲欧洲日韩在线| 久久不见久久见中文字幕免费| 99国产精品99久久久久久| 欧美tickle裸体挠脚心vk| 亚洲欧美福利一区二区| 久草这里只有精品视频| 欧美午夜精品一区二区三区| 国产亚洲va综合人人澡精品 | 亚洲国产精品av| 图片区小说区国产精品视频| www.亚洲精品| 国产婷婷色一区二区三区四区| 日韩精品欧美成人高清一区二区| 成人黄色小视频| 久久综合狠狠综合久久激情| 丝袜美腿亚洲一区二区图片| 色噜噜狠狠一区二区三区果冻| 久久久精品影视| 久久精品免费看| 日韩限制级电影在线观看| 亚洲午夜三级在线| 欧美日韩三级一区| 亚洲欧美一区二区三区孕妇| 不卡的电视剧免费网站有什么| 精品盗摄一区二区三区| 免费欧美高清视频| 日韩欧美一区二区在线视频| 日本不卡高清视频| 欧美一区二区三区思思人| 亚洲第一激情av| 欧美老年两性高潮| 首页亚洲欧美制服丝腿| 制服丝袜中文字幕一区| 日韩国产欧美三级| 91精品国产全国免费观看| 日韩电影在线观看电影| 日韩欧美一卡二卡| 国产一区二区三区不卡在线观看| 久久久天堂av| 成人黄色综合网站| 亚洲天堂福利av| 欧美午夜影院一区| 日本成人在线网站| 久久久噜噜噜久久人人看| 国产一区中文字幕| 国产精品福利一区| 欧美三电影在线| 久久激情综合网| 久久九九99视频| 色综合天天综合| 日韩电影在线一区| 国产欧美日韩综合精品一区二区| 成人网页在线观看| 亚洲亚洲人成综合网络| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲情趣在线观看| 欧美综合在线视频| 日本成人中文字幕| 国产亚洲一区二区三区四区| 国产一区二区成人久久免费影院| 久久久久久久久久久久久久久99| 国产成人av电影在线播放| 综合av第一页| 日韩欧美激情一区| www.欧美.com| 亚洲二区在线观看| 亚洲国产高清在线| 精品视频在线看| 狠狠色丁香婷婷综合| 亚洲欧洲日产国产综合网| 欧美日韩高清不卡| 波多野结衣亚洲一区| 日本一不卡视频| 亚洲欧洲国产专区| 日韩一区二区在线播放| 91日韩在线专区| 韩国v欧美v亚洲v日本v| 一区二区三区精品视频| 国产婷婷色一区二区三区四区| 欧美日韩亚洲综合一区| www.一区二区| 国产一区二区三区精品欧美日韩一区二区三区| 日韩毛片一二三区| 精品国产91洋老外米糕| 欧美日韩卡一卡二| heyzo一本久久综合| 国产一区二区三区四区五区入口| 香蕉久久夜色精品国产使用方法 | 在线不卡免费欧美| 一本一道波多野结衣一区二区| 精品一区二区三区香蕉蜜桃| 日韩中文字幕亚洲一区二区va在线| 日韩理论片网站| 亚洲国产精品传媒在线观看| 精品国产乱码久久久久久图片| 欧美日韩情趣电影| 色欧美88888久久久久久影院| 成人av网站免费观看| 国产伦精一区二区三区| 日韩激情一二三区| 五月综合激情网| 午夜精品久久久久久久| 亚洲国产欧美日韩另类综合| 亚洲三级久久久| 亚洲欧美视频在线观看视频| 国产精品久久久久久久裸模| 国产精品妹子av| 国产精品久久久久毛片软件| 亚洲国产精品成人久久综合一区| 国产日韩欧美制服另类| 日本一区二区三区国色天香| 久久久精品免费观看| 欧美国产精品v| 国产精品毛片久久久久久| 中文字幕欧美国产| 中文字幕亚洲区| 一级特黄大欧美久久久| 午夜精品久久一牛影视| 日韩二区三区在线观看| 久久激情五月婷婷| 国产麻豆精品一区二区| av电影在线观看一区| 99国产精品久久久| 欧美日韩国产高清一区| 日韩一区二区免费在线观看| 精品国产乱码久久久久久免费 | 欧美成人一区二区三区在线观看| 精品国产网站在线观看| 国产亚洲一区二区三区四区| 国产精品第一页第二页第三页| 亚洲乱码一区二区三区在线观看| 亚洲一二三级电影| 精品在线观看免费| 99久久婷婷国产综合精品| 欧美综合在线视频| 久久夜色精品国产欧美乱极品| 国产精品女主播av| 婷婷综合久久一区二区三区| 黄色日韩网站视频| 一本色道综合亚洲| 欧美一区二区三区在线电影| 欧美激情中文字幕| 亚洲电影一区二区三区| 国产在线视频一区二区| 色94色欧美sute亚洲13| 欧美电影免费提供在线观看| 国产精品激情偷乱一区二区∴| 亚洲成人中文在线| 国产成人无遮挡在线视频| 色综合久久久久综合体| 久久免费的精品国产v∧| 一区二区在线观看视频| 国内外成人在线| 欧美日韩大陆在线| 亚洲视频网在线直播| 九色|91porny| 欧美男女性生活在线直播观看| 欧美国产日韩精品免费观看| 麻豆91小视频|