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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mfm_dateex.f

?? CCSM Research Tools: Community Atmosphere Model (CAM)
?? F
字號:
      !\begin{verbatim}!===============================================================================! MFM_Date F90 Unit Tests and Examples!===============================================================================      program main       use MFM_TimeMgmt      implicit none      integer, parameter :: START_DATE=20011128, START_SECS=43200      integer, parameter :: STOP_DATE=20041201, STOP_SECS=1200      integer, parameter :: DAY_INC=6, SEC_INC=43200      integer :: retCalDate, retDays, retSecs      logical :: test, isLater      type(MFM_Date) :: startDateG, stopDateG, retDateG      type(MFM_Date) :: startDateN, stopDateN, retDateN      type(MFM_Date) :: copy      type(MFM_Time) :: incTime, retTime      type(MFM_Date) :: calDayTester      real(8) :: floatDay, floatTest      character(60) :: str      print *, "=================================================="      print *, "MFM_Date F90 Unit Tests and Examples"      print *, "=================================================="      startDateG = MFM_DateInit(MFM_GREGORIAN, START_DATE, START_SECS)       stopDateG = MFM_DateInit(MFM_GREGORIAN, STOP_DATE, STOP_SECS)      retDateG = MFM_DateInit()       startDateN = MFM_DateInit(MFM_NO_LEAP, START_DATE, START_SECS)       stopDateN = MFM_DateInit(MFM_NO_LEAP, STOP_DATE, STOP_SECS)      retDateN = MFM_DateInit()       copy = MFM_DateCopyInit(stopDateG)      incTime = MFM_TimeInit(DAY_INC, SEC_INC)       retTime = MFM_TimeInit()      call MFM_DateGet(startDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==START_DATE) .AND. (retSecs==START_SECS))      str = "MFM_DateInit, MFM_DateGet:  init date and get attr"      call MFM_ErrorTest(test, str)      call MFM_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==STOP_DATE) .AND. (retSecs==STOP_SECS))      str = "MFM_CopyInit:  init date and get attr"      call MFM_ErrorTest(test, str)      call MFM_DateCopy(copy, startDateG)      call MFM_DateGet(copy, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==START_DATE) .AND. (retSecs==START_SECS))      str = "MFM_DateCopy:  copy date"      call MFM_ErrorTest(test, str)      retDateG = MFM_DateIncrementSec(startDateG, SEC_INC)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20011129) .AND. (retSecs==0))      str = "MFM_DateIncrementSec:  increment Gregorian date by seconds"        call MFM_ErrorTest(test, str)      retDateG = MFM_DateIncrementDay(startDateG, DAY_INC)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs       test = ((retCalDate==20011204) .AND. (retSecs==43200))      str = "MFM_DateIncrementDay:  increment Gregorian date by days"        call MFM_ErrorTest(test, str)      retDateG = MFM_DateIncrement(startDateG, incTime)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011205) .AND. (retSecs==0))      str = "MFM_DateIncrement:  increment Gregorian date"      call MFM_ErrorTest(test, str)      retDateG = MFM_DateDecrement(retDateG, incTime)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011128) .AND. (retSecs==43200))      str = "MFM_DateDecrement:  decrement Gregorian date in place"      call MFM_ErrorTest(test, str)      call MFM_DateDiff(startDateG, stopDateG, retTime, isLater)      call MFM_TimeGet(retTime, retDays, retSecs)      print *, "Ret days ", retDays, " Ret secs ",      &         retSecs, "isLater", isLater       test = ((retDays==1098) .AND. (retSecs==44400)      &       .AND. (isLater))      print *, "test", test      str = "MFM_DateDiff:  diff of two Gregorian dates"      call MFM_ErrorTest(test, str)      call MFM_TimeSet(incTime, 1098, 44400)      retDateG = MFM_DateDecrement(stopDateG, incTime)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011128) .AND. (retSecs==43200))      str = "MFM_DateDecrement:  decrement Gregorian date"      call MFM_ErrorTest(test, str)      call MFM_TimeSet(incTime, DAY_INC, SEC_INC)      retDateN = MFM_DateIncrement(startDateN, incTime)      call MFM_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011205) .AND. (retSecs==0))      str = "MFM_DateIncrement:  increment no leap date"      call MFM_ErrorTest(test, str)      retDateN = MFM_DateDecrement(retDateN, incTime)      call MFM_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011128) .AND. (retSecs==43200))      str = "MFM_DateDecrement:  decrement no leap date in place"      call MFM_ErrorTest(test, str)      call MFM_DateDiff(startDateN, stopDateN, retTime, isLater)      call MFM_TimeGet(retTime, retDays, retSecs)      print *, "Ret days ", retDays, " Ret secs ", retSecs,     &         "isLater", isLater      test = ((retDays==1097) .AND. (retSecs==44400)      &       .AND. (isLater))      str = "MFM_DateDiff:  diff of two no leap dates"      call MFM_ErrorTest(test, str)      call MFM_DateSet(startDateN, MFM_NO_LEAP, 19700101, 0)       call MFM_DateSet(stopDateN, MFM_NO_LEAP, 19710101, 0)      call MFM_DateDiff(startDateN, stopDateN, retTime, isLater)      call MFM_TimeGet(retTime, retDays, retSecs)      print *, "Ret days ", retDays, " Ret secs ", retSecs,     &         "isLater", isLater      test = ((retDays==365) .AND. (retSecs==0)      &       .AND. (isLater))      str = "MFM_DateDiff:  diff of two no leap dates"      call MFM_ErrorTest(test, str)      call MFM_DateSet(startDateN, MFM_NO_LEAP, 20011128, 43200)       call MFM_DateSet(stopDateN, MFM_NO_LEAP, 20041201, 1200)      call MFM_TimeSet(incTime, 1097, 44400)      retDateN = MFM_DateDecrement(stopDateN, incTime)      call MFM_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20011128) .AND. (retSecs==43200))      str = "MFM_DateDecrement:  decrement no leap date"      call MFM_ErrorTest(test, str)      call MFM_DateSet(retDateN, MFM_NO_LEAP, 20031224, 3500)      call MFM_DateGet(retDateN, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20031224) .AND. (retSecs==3500))      str = "MFM_DateSet:  set a no leap date"      call MFM_ErrorTest(test, str)                  call MFM_DateIsLater(startDateG, stopDateG, isLater)      print *, "isLater", isLater      test = isLater      str = "MFM_DateIsLater:  compare Gregorian dates (true result)"      call MFM_ErrorTest(test, str)      call MFM_DateIsLater(stopDateG, startDateG, isLater)      test = .NOT. isLater      str = "MFM_DateIsLater:  compare Gregorian dates (false result)"      call MFM_ErrorTest(test, str)      call MFM_DateSet(startDateG, MFM_GREGORIAN, 20011031, 0)      retDateG = MFM_DateIncrementMonth(startDateG, 4)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20020228) .AND. (retSecs==0))      str = "MFM_DateIncrementMonth:  handle invalid day"      call MFM_ErrorTest(test, str)            call MFM_DateSet(startDateG, MFM_GREGORIAN, 20040229, 0)      retDateG = MFM_DateIncrementYear(startDateG, 1)      call MFM_DateGet(retDateG, retCalDate, retSecs)      print *, "Ret date ", retCalDate, " Ret secs ", retSecs      test = ((retCalDate==20050228) .AND. (retSecs==0))      str = "MFM_DateIncrementYear:  handle invalid day"      call MFM_ErrorTest(test, str)            call MFM_DatePrint(startDateG)      calDayTester = MFM_DateInit(MFM_GREGORIAN, START_DATE, START_SECS)      print *, "Calendar Day Test"      call MFM_DatePrint(calDayTester)      floatDay = MFM_DateGetFltDayOfYear(calDayTester)      call MFM_DateGet(calDayTester, retCalDate, retSecs)      retDays = MFM_DateGetDayOfYear(calDayTester)      print *, "float days = ", floatDay      print *, "floor(floatDay) = ", floor(floatDay)      print *, "secs=", (floatDay - floor(floatDay))      floatTest = retDays + (retSecs / 86400.)      print *, "Local calculation got:", floatTest      print *, "Difference: ", (floatTest - floatDay)      test = (abs(floatTest - floatDay) < 0.00001)      str = "MFM_DateFltDayOfYear:  return correct days.seconds"      call MFM_ErrorTest(test, str)            end program main !\end{verbatim}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丁香另类激情小说| 午夜精品久久久久久久久久| 亚洲精品写真福利| 青青青爽久久午夜综合久久午夜| 欧美成人一区二区三区片免费 | 精品国产露脸精彩对白| xnxx国产精品| 最近中文字幕一区二区三区| 亚洲1区2区3区4区| 色婷婷综合久色| 亚洲精品在线一区二区| 一区二区三区日韩精品| 成人免费视频app| 69av一区二区三区| 国产精品成人在线观看| 黄色精品一二区| 精品视频一区三区九区| 欧美成人video| 午夜视频在线观看一区二区 | 精品在线播放午夜| 欧美日韩另类一区| 亚洲午夜精品网| 成人不卡免费av| 久久一留热品黄| 麻豆精品一区二区三区| 欧美日韩国产综合草草| 精品毛片乱码1区2区3区| 蜜臀国产一区二区三区在线播放| 欧美在线三级电影| 欧美不卡一区二区三区四区| 视频一区二区中文字幕| 色诱视频网站一区| 久久精品一区二区三区不卡| 日本不卡一区二区三区高清视频| 97久久精品人人做人人爽| 国产精品国产三级国产aⅴ无密码| 激情六月婷婷综合| 欧美一区二区三区在| 裸体健美xxxx欧美裸体表演| 欧美亚日韩国产aⅴ精品中极品| 国产精品对白交换视频| 色综合久久综合网| 亚洲欧洲日韩av| 成人免费观看视频| 亚洲免费电影在线| 99久久精品免费看| 亚洲天堂免费在线观看视频| 日本精品裸体写真集在线观看| 国产精品麻豆视频| 激情六月婷婷综合| 国产精品第五页| 91农村精品一区二区在线| 亚洲欧美色图小说| 欧美三级一区二区| 亚洲成av人片| 亚洲视频一二区| av不卡在线播放| 亚洲乱码日产精品bd| 欧美日韩精品久久久| 秋霞av亚洲一区二区三| 日韩欧美中文字幕一区| 成人激情免费网站| 亚洲视频 欧洲视频| 欧美日韩一区二区三区四区| 精品亚洲porn| 日本一区二区视频在线| av中文字幕在线不卡| 亚洲主播在线观看| 日韩一级二级三级精品视频| 成人av在线播放网址| 亚洲美女视频在线观看| 欧美日韩一级片在线观看| 国产精品 欧美精品| 亚洲视频资源在线| 777色狠狠一区二区三区| 国产999精品久久| 亚洲精品国产精华液| 色综合天天性综合| 国产麻豆视频一区二区| 亚洲欧美色图小说| 欧美在线小视频| 国产一区二区三区高清播放| 亚洲不卡在线观看| 中文字幕第一页久久| 91美女视频网站| 蓝色福利精品导航| 午夜精品123| 国产精品水嫩水嫩| 99r国产精品| 国产精品1区二区.| 性欧美大战久久久久久久久| 国产精品初高中害羞小美女文| 欧美久久婷婷综合色| 成人午夜免费av| 国产一区二区三区av电影| 亚洲男人天堂av| 国产日产欧产精品推荐色| 欧美草草影院在线视频| 欧美色网站导航| 色吊一区二区三区| 成人亚洲精品久久久久软件| 一区二区三区精密机械公司| 国产精品毛片高清在线完整版| 日韩美女视频在线| 欧美手机在线视频| 欧美日韩不卡一区二区| 91丨九色丨黑人外教| 美女诱惑一区二区| 亚洲国产日韩在线一区模特| 国产精品麻豆欧美日韩ww| 国产精品欧美精品| 久久综合九色综合欧美就去吻| 91丨porny丨国产| 欧美在线观看一区二区| 99视频一区二区| 成人h动漫精品一区二区| 国模无码大尺度一区二区三区| 亚洲人快播电影网| 亚洲丝袜制服诱惑| 中文字幕一区二区三区精华液| 中文字幕在线不卡一区二区三区| 精品久久一区二区三区| 日韩午夜激情视频| xfplay精品久久| 精品理论电影在线观看 | 欧美怡红院视频| 欧美日韩大陆在线| 欧美日本在线一区| 日韩一区二区免费在线电影| 欧美高清视频不卡网| 欧美日韩免费一区二区三区视频| 在线观看av一区二区| 欧美主播一区二区三区| 91精品国产日韩91久久久久久| 欧美精品一级二级三级| 3d动漫精品啪啪一区二区竹菊| 成人免费毛片嘿嘿连载视频| 国产不卡在线视频| 菠萝蜜视频在线观看一区| 91日韩精品一区| 在线观看日韩毛片| 国产精品中文字幕一区二区三区| 99国产精品久| 欧美日韩视频在线一区二区| 日韩午夜在线播放| 国产日韩欧美一区二区三区乱码 | 成人app网站| 成人免费视频caoporn| av在线不卡电影| 欧美午夜宅男影院| 欧美日本国产视频| 欧美视频一区二区三区在线观看 | 日本女优在线视频一区二区| 久久激五月天综合精品| 国产成人综合在线观看| 国产91精品一区二区麻豆亚洲| 色综合欧美在线| 欧美一区二区日韩| 国产日韩v精品一区二区| 国产欧美一区二区精品秋霞影院| 中文字幕欧美激情一区| 亚洲高清在线精品| 精品一区二区三区久久| 91麻豆福利精品推荐| 欧美一区二区免费| 亚洲精品成人精品456| 麻豆国产一区二区| 91网上在线视频| 久久久欧美精品sm网站| 亚洲麻豆国产自偷在线| 国内久久婷婷综合| 欧美色手机在线观看| 欧美一区日本一区韩国一区| 亚洲国产岛国毛片在线| 日本成人在线网站| 91免费观看在线| 亚洲18影院在线观看| 久久亚洲欧美国产精品乐播| 日韩美女一区二区三区四区| 国产精品国产三级国产aⅴ入口| 亚洲国产中文字幕在线视频综合| 国产精品系列在线播放| 成人av集中营| 精品少妇一区二区三区视频免付费 | 国产欧美综合色| 亚洲成人你懂的| 99久久精品国产导航| 中文字幕不卡的av| 免费高清不卡av| 色噜噜偷拍精品综合在线| 久久久噜噜噜久久中文字幕色伊伊| 亚洲福利视频一区| 色视频成人在线观看免| 国产女同性恋一区二区| 国产精品一区二区在线播放| 欧美一区日本一区韩国一区| 精品国产百合女同互慰| 国产在线精品一区在线观看麻豆| 欧美视频在线一区二区三区 | 久久女同精品一区二区|