Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:41:46 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
4e66ab0b67 Oliv*0001 #ifdef ALLOW_LONGSTEP
                0002 
                0003 CBOP
                0004 C     !ROUTINE: LONGSTEP.h
                0005 C     !INTERFACE:
                0006 C     include "LONGSTEP.h"
                0007 C     !DESCRIPTION:
                0008 C     \bv
                0009 C     *==========================================================*
                0010 C     | LONGSTEP.h
                0011 C     | o Longstep state variables: averages of model variables
                0012 C     *==========================================================*
                0013 C     \ev
                0014 CEOP
                0015 C
                0016 C     LS_doTimeStep :: .TRUE. if ptracers are updated in this timestep
                0017 C
                0018       LOGICAL LS_doTimeStep
                0019       COMMON /LONGSTEP_STATE/ LS_doTimeStep
                0020 
                0021 C     LS_uVel         :: longstep average of zonal velocity
                0022 C     LS_vVel         :: longstep average of meridional velocity
                0023 C     LS_wVel         :: longstep average of vertical velocity
                0024 C     LS_theta        :: longstep average of potential temperature
                0025 C     LS_salt         :: longstep average of salinity
                0026 C     LS_IVDConvCount :: longstep average of IVD convection counter
fda3710353 Oliv*0027 C     LS_fwFlux       :: longstep average of either PmEpR or EmPmR (note sign!)
4e66ab0b67 Oliv*0028 C
                0029       _RL LS_uVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0030       _RL LS_vVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0031       _RL LS_wVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0032       _RL LS_theta(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0033       _RL LS_salt (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0034       _RL LS_IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
fda3710353 Oliv*0035       _RL LS_fwFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
4e66ab0b67 Oliv*0036       INTEGER LS_uVelCount(nSx,nSy)
                0037       INTEGER LS_vVelCount(nSx,nSy)
                0038       INTEGER LS_wVelCount(nSx,nSy)
                0039       INTEGER LS_thetaCount(nSx,nSy)
                0040       INTEGER LS_saltCount(nSx,nSy)
                0041       INTEGER LS_IVDConvCountCount(nSx,nSy)
fda3710353 Oliv*0042       INTEGER LS_fwFluxCount(nSx,nSy)
b929557714 Jean*0043       COMMON /LONGSTEP_DYNVARS_R/
                0044      &       LS_uVel, LS_vVel, LS_wVel,
fda3710353 Oliv*0045      &       LS_theta, LS_salt, LS_IVDConvCount,
                0046      &       LS_fwFlux
b929557714 Jean*0047       COMMON /LONGSTEP_DYNVARS_I/
                0048      &       LS_uVelCount, LS_vVelCount, LS_wVelCount,
fda3710353 Oliv*0049      &       LS_thetaCount, LS_saltCount, LS_IVDConvCountCount,
                0050      &       LS_fwFluxCount
4e66ab0b67 Oliv*0051 
                0052 #ifdef ALLOW_GMREDI
                0053 C     Bottom row of tensor corresponds to W points
                0054 C     LS_Kwx :: longstep average of K_31 element, X direction at W point
                0055 C     LS_Kwy :: longstep average of K_32 element, Y direction at W point
                0056 C     LS_Kwz :: longstep average of K_33 element, Z direction at W point
                0057 C
                0058       _RL LS_Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0059       _RL LS_Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0060       _RL LS_Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
b929557714 Jean*0061       INTEGER LS_KwxCount(nSx,nSy)
                0062       INTEGER LS_KwyCount(nSx,nSy)
                0063       INTEGER LS_KwzCount(nSx,nSy)
                0064       COMMON /LONGSTEP_GM_R/ LS_Kwx, LS_Kwy, LS_Kwz
                0065       COMMON /LONGSTEP_GM_I/ LS_KwxCount,LS_KwyCount,LS_KwzCount
4e66ab0b67 Oliv*0066 #endif /* ALLOW_GMREDI */
                0067 
                0068 #ifdef ALLOW_KPP
                0069 C     LS_KPPdiffKzS :: longstep average of Vert. diff. coeff. for tracers
                0070 C     LS_KPPghat    :: longstep average of Nonlocal transport coefficient
                0071 C
                0072       _RL LS_KPPdiffKzS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0073       _RL LS_KPPghat    (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
b929557714 Jean*0074       INTEGER LS_KPPdiffKzSCount(nSx,nSy)
                0075       INTEGER LS_KPPghatCount   (nSx,nSy)
                0076       COMMON /LONGSTEP_KPP_R/ LS_KPPdiffKzS, LS_KPPghat
                0077       COMMON /LONGSTEP_KPP_I/ LS_KPPdiffKzSCount, LS_KPPghatCount
4e66ab0b67 Oliv*0078 #endif
                0079 
                0080 #ifdef SHORTWAVE_HEATING
                0081 C     LS_Qsw :: longstep average of net upward shortwave radiation after ice
                0082 C
0af7e34ef5 Oliv*0083       _RL LS_Qsw(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
4e66ab0b67 Oliv*0084       INTEGER LS_QswCount(nSx,nSy)
b929557714 Jean*0085       COMMON /LONGSTEP_EXTRA_R/ LS_Qsw
                0086       COMMON /LONGSTEP_EXTRA_I/ LS_QswCount
4e66ab0b67 Oliv*0087 #endif
                0088 
                0089 C     ice?
                0090 C     forcing?
                0091 
                0092 #endif /* ALLOW_LONGSTEP */
                0093