C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/icefront/ICEFRONT.h,v 1.5 2010/02/11 23:14:31 dimitri Exp $ C $Name: $ #ifdef ALLOW_ICEFRONT CBOP C !ROUTINE: ICEFRONT.h C !DESCRIPTION: \bv C /==========================================================\ C | ICEFRONT.h | C | o Basic header thermodnynamic shelf ice package. | C | Contains all ICEFRONT field declarations. | C \==========================================================/ C----------------------------------------------------------------------- C C-- Constants that can be set in data.icefront C ICEFRONTdepthFile - name of icefront depth file (m) C 2D file containing depth of the ice front C at each model grid cell C ICEFRONTlengthFile - name of icefront length file (m/m^2) C 2D file containing the ratio of the horizontal C length of the ice front in each model grid cell C divided by the grid cell area C ICEFRONTheatTransCoeff - heat transfer coefficient that determines C heat flux into icefront (m/s) C ICEFRONTsaltTransCoeff - salinity transfer coefficient that determines C salt flux into icefront (m/s) C ICEFRONTlatentHeat - latent heat of fusion (J/kg) C ICEFRONTconserve - use conservative form of H&O-thermodynamics C following Jenkins et al. (2001, JPO) C applyIcefrontTendT/S - C C-- Fields C K_icefront - # of icefront model levels at every horizontal location (2D) C R_icefront - icefront depth [m] (2D) C icefrontlength - icefront horizontal length divided by grid cell area [m/m^2] (2D) C icefrontHeatFlux - outward heat flux, +ve cools the ocean [W/m^2] C icefrontFreshWaterFlux - outward fresh water flux, +ve increases ocean salinity [m/s] C icefront_TendT - temperature tendency (Kelvin/s) C icefront_TendS - salinity tendency (psu/s) C----------------------------------------------------------------------- C \ev CEOP COMMON /ICEFRONT_PARMS_I/ K_icefront INTEGER K_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) COMMON /ICEFRONT_PARMS_R/ & ICEFRONTheatTransCoeff, ICEFRONTsaltTransCoeff, & rhoIcefront, ICEFRONTkappa, & ICEFRONTlatentHeat, recip_ICEFRONTlatentHeat, & ICEFRONTheatCapacity_Cp, & ICEFRONTthetaSurface _RL ICEFRONTheatTransCoeff _RL ICEFRONTsaltTransCoeff _RL ICEFRONTlatentHeat _RL ICEFRONTheatCapacity_Cp _RL rhoIcefront _RL ICEFRONTkappa _RL recip_ICEFRONTlatentHeat _RL ICEFRONTthetaSurface COMMON /ICEFRONT_FIELDS_RL/ & icefront_TendT, & icefront_TendS _RL icefront_TendT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) _RL icefront_TendS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) COMMON /ICEFRONT_FIELDS_RS/ & R_icefront, & icefrontlength _RS R_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy) _RS icefrontlength (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy) LOGICAL ICEFRONTisOn LOGICAL ICEFRONTconserve LOGICAL applyIcefrontTendT LOGICAL applyIcefrontTendS COMMON /ICEFRONT_PARMS_L/ & ICEFRONTisOn, & ICEFRONTconserve, & applyIcefrontTendT, & applyIcefrontTendS CHARACTER*(MAX_LEN_FNAM) ICEFRONTlengthFile CHARACTER*(MAX_LEN_FNAM) ICEFRONTdepthFile COMMON /ICEFRONT_PARM_C/ & ICEFRONTlengthFile, & ICEFRONTdepthFile #endif /* ALLOW_ICEFRONT */