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.
domstp.f90 in branches/UKMO/dev_r8600_nn_etau_options/NEMOGCM/TOOLS/DOMAINcfg/src – NEMO

source: branches/UKMO/dev_r8600_nn_etau_options/NEMOGCM/TOOLS/DOMAINcfg/src/domstp.f90 @ 8875

Last change on this file since 8875 was 8875, checked in by davestorkey, 6 years ago

UKMO/dev_r8600_nn_etau_options branch: remove SVN keywords.

File size: 2.9 KB
Line 
1MODULE domstp
2   !!==============================================================================
3   !!                       ***  MODULE domstp   ***
4   !! Ocean initialization : time domain
5   !!==============================================================================
6
7   !!----------------------------------------------------------------------
8   !!   dom_stp        : ocean time domain initialization
9   !!----------------------------------------------------------------------
10   !! History :  OPA  ! 1990-10  (O. Marti)  Original code
11   !!                 ! 1996-01  (G. Madec)  terrain following coordinates
12   !!   NEMO     1.0  ! 2002-08  (G. Madec)  F90: Free form and module
13   !!----------------------------------------------------------------------
14   USE oce            ! ocean dynamics and tracers
15   USE dom_oce        ! ocean space and time domain
16   USE in_out_manager ! I/O manager
17   USE lib_mpp        ! MPP library
18
19   IMPLICIT NONE
20   PRIVATE
21
22   PUBLIC   dom_stp   ! routine called by inidom.F90
23
24   !!----------------------------------------------------------------------
25   !! NEMO/OPA 3.3 , NEMO Consortium (2010)
26   !! $Id$
27   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
28   !!----------------------------------------------------------------------
29CONTAINS
30
31   SUBROUTINE dom_stp
32      !!----------------------------------------------------------------------
33      !!                    ***  ROUTINE dom_stp  ***
34      !!         
35      !! ** Purpose :   Intialize ocean time step for the run
36      !!
37      !! ** Method  : - Initialization of a coef. use in the Asselin time
38      !!      filter:  atfp1 = 1 - 2 * atfp  where atfp is the Asselin time
39      !!      filter parameter read in namelist
40      !!              - Model time step:
41      !!                synchronous time intergration.
42      !!      There is one time step only, defined by: rdt for dynamics and
43      !!      tracer,wind stress, surface heat and salt fluxes
44      !!
45      !! ** Action  : [REMOVED - rdttra: vertical profile of tracer time step]
46      !!              - atfp1    : = 1 - 2*atfp
47      !!
48      !! References :   Bryan, K., 1984, J. Phys. Oceanogr., 14, 666-673.
49      !!----------------------------------------------------------------------
50      INTEGER ::   jk              ! dummy loop indice
51      !!----------------------------------------------------------------------
52
53      IF(lwp) THEN
54         WRITE(numout,*)
55         WRITE(numout,*) 'dom_stp : time stepping setting'
56         WRITE(numout,*) '~~~~~~~'
57      ENDIF
58
59      ! 0. Asselin Time filter
60      ! ----------------------
61     
62      atfp1 = 1. - 2. * atfp
63
64      IF(lwp) WRITE(numout,*)'               synchronous time stepping'
65      IF(lwp) WRITE(numout,*)'               dynamics and tracer time step = ', rdt/3600., ' hours'
66
67
68   END SUBROUTINE dom_stp
69
70   !!======================================================================
71END MODULE domstp
Note: See TracBrowser for help on using the repository browser.