New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 15004 for NEMO/trunk/src/OCE/ISF/isfcav.F90 – NEMO

Ignore:
Timestamp:
2021-06-16T12:33:18+02:00 (3 years ago)
Author:
mathiot
Message:

ticket #2960: commit fix to the trunk (WARNING: output convention of isf fluxes changed from oce->isf to isf->oce), no impact on the input file needed for some options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ISF/isfcav.F90

    r14995 r15004  
    6060      !!                   - output 
    6161      !!  
    62       !! ** Convention : all fluxes are from oce to isf ( > 0 out of the ocean ) 
     62      !! ** Convention : all fluxes are from isf to oce 
    6363      !! 
    6464      !!--------------------------------------------------------------------- 
    6565      !!-------------------------- OUT -------------------------------------- 
    66       REAL(wp), DIMENSION(jpi,jpj)     , INTENT(inout) :: pqfwf  ! ice shelf melt (>0 out) 
     66      REAL(wp), DIMENSION(jpi,jpj)     , INTENT(inout) :: pqfwf  ! ice shelf fwf 
    6767      REAL(wp), DIMENSION(jpi,jpj,jpts), INTENT(inout) :: ptsc   ! T & S ice shelf cavity contents 
    6868      !!-------------------------- IN  -------------------------------------- 
     
    127127      END DO 
    128128      ! 
    129       ! compute heat and water flux ( > 0 out ) 
     129      ! compute heat and water flux ( > 0 from isf to oce) 
    130130      pqfwf(:,:) = pqfwf(:,:) * mskisf_cav(:,:) 
    131131      zqoce(:,:) = zqoce(:,:) * mskisf_cav(:,:) 
    132132      zqhc (:,:) = zqhc(:,:)  * mskisf_cav(:,:) 
    133133      ! 
    134       ! compute heat content flux ( > 0 out ) 
     134      ! compute heat content flux ( > 0 from isf to oce) 
    135135      zqlat(:,:) = - pqfwf(:,:) * rLfusisf    ! 2d latent heat flux (W/m2) 
    136136      ! 
    137       ! total heat flux ( > 0 out ) 
     137      ! total heat flux ( > 0 from isf to oce) 
    138138      zqh(:,:) = ( zqhc (:,:) + zqoce(:,:) ) 
    139139      ! 
     
    145145      ! 
    146146      ! set temperature content 
    147       ptsc(:,:,jp_tem) = - zqh(:,:) * r1_rho0_rcp 
     147      ptsc(:,:,jp_tem) = zqh(:,:) * r1_rho0_rcp 
    148148      ! 
    149149      ! write restart variables (qoceisf, qhcisf, fwfisf for now and before) 
Note: See TracChangeset for help on using the changeset viewer.