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 6526 – NEMO

Changeset 6526


Ignore:
Timestamp:
2016-05-12T16:30:42+02:00 (8 years ago)
Author:
drew
Message:

Add an ifdef for key_vvl to isolate this change to VVL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_sshinc_with_VVL/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90

    r6525 r6526  
    129129         CALL ssh_asm_inc( kt ) 
    130130         ssha(:,:) = ssha(:,:) + z2dt * ssh_iau(:,:) 
    131 ! Also add heat and salt content associated with this volume change 
     131#if defined key_vvl 
     132! Also add heat and salt fluxes associated with this volume change to keep heat and salt content unchanged. 
    132133         qns(:,:) = qns(:,:) + ssh_iau(:,:) * rau0_rcp * tsn(:,:,1,jp_tem) 
    133134         sfx(:,:) = sfx(:,:) + ssh_iau(:,:) * rau0     * tsn(:,:,1,jp_sal)        
    134135      ENDIF 
     136#endif 
    135137#endif 
    136138 
Note: See TracChangeset for help on using the changeset viewer.