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.
diu_layers.F90 in NEMO/trunk/src/OCE/DIU – NEMO

source: NEMO/trunk/src/OCE/DIU/diu_layers.F90 @ 12377

Last change on this file since 12377 was 12377, checked in by acc, 4 years ago

The big one. Merging all 2019 developments from the option 1 branch back onto the trunk.

This changeset reproduces 2019/dev_r11943_MERGE_2019 on the trunk using a 2-URL merge
onto a working copy of the trunk. I.e.:

svn merge --ignore-ancestry \

svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk \
svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/2019/dev_r11943_MERGE_2019 ./

The --ignore-ancestry flag avoids problems that may otherwise arise from the fact that
the merge history been trunk and branch may have been applied in a different order but
care has been taken before this step to ensure that all applicable fixes and updates
are present in the merge branch.

The trunk state just before this step has been branched to releases/release-4.0-HEAD
and that branch has been immediately tagged as releases/release-4.0.2. Any fixes
or additions in response to tickets on 4.0, 4.0.1 or 4.0.2 should be done on
releases/release-4.0-HEAD. From now on future 'point' releases (e.g. 4.0.2) will
remain unchanged with periodic releases as needs demand. Note release-4.0-HEAD is a
transitional naming convention. Future full releases, say 4.2, will have a release-4.2
branch which fulfills this role and the first point release (e.g. 4.2.0) will be made
immediately following the release branch creation.

2020 developments can be started from any trunk revision later than this one.

File size: 2.0 KB
Line 
1MODULE diu_layers
2   !!======================================================================
3   !!                       ***  MODULE diu_layers **
4   !! Apply coolskin and warm layer calculations
5   !!======================================================================
6   !! History :  3.7  ! 2015-11  (J. While)  Original code
7
8   USE diu_bulk     ! diurnal SST bulk routines  (diurnal_sst_takaya routine)
9   USE diu_coolskin ! diurnal cool skin correction (diurnal_sst_coolskin routine)   
10   USE oce
11   USE iom
12   USE sbc_oce
13   USE sbcmod       ! surface boundary condition       (sbc     routine)
14   
15   IMPLICIT NONE
16   PRIVATE
17
18   PUBLIC diurnal_sst_bulk_init      ! called by nemogcm.F90
19   PUBLIC diurnal_sst_coolskin_init  ! called by nemogcm.F90
20   PUBLIC diurnal_layers             ! called by step.F90 or step_diu.F90
21
22   !!----------------------------------------------------------------------
23   !! NEMO/OCE 4.0 , NEMO Consortium (2018)
24   !! $Id: step_diu.F90 10922 2019-05-02 15:10:39Z acc $
25   !! Software governed by the CeCILL license (see ./LICENSE)
26   !!----------------------------------------------------------------------
27
28   CONTAINS
29
30   SUBROUTINE diurnal_layers( kstp ) 
31      INTEGER, INTENT(in) ::   kstp   ! ocean time-step index
32      !!----------------------------------------------------------------------
33      !!                     ***  ROUTINE diurnal_layers  ***
34      !!                       
35      !! ** Purpose : - Apply coolskin and warm layer calculations
36      !!   
37      !!----------------------------------------------------------------------
38     
39      ! Cool skin
40
41      CALL diurnal_sst_coolskin_step( qns, taum, rhop(:,:,1), rdt)
42
43      CALL iom_put( "sst_wl"   , x_dsst               )    ! warm layer (write out before update below).
44      CALL iom_put( "sst_cs"   , x_csdsst             )    ! cool skin
45
46      ! Diurnal warm layer model       
47      CALL diurnal_sst_takaya_step( kstp, qsr, qns, taum, rhop(:,:,1), rdt) 
48
49   END SUBROUTINE diurnal_layers 
50   
51END MODULE diu_layers
Note: See TracBrowser for help on using the repository browser.