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/2015/dev_r5056_CMCC4_simplification/NEMOGCM/NEMO/OPA_SRC/DOM – NEMO

source: branches/2015/dev_r5056_CMCC4_simplification/NEMOGCM/NEMO/OPA_SRC/DOM/domstp.F90 @ 5282

Last change on this file since 5282 was 5282, checked in by diovino, 9 years ago

Dev. branch CMCC4_simplification ticket #1456

  • Property svn:keywords set to Id
File size: 3.0 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   !! * Substitutions
25#  include "domzgr_substitute.h90"
26   !!----------------------------------------------------------------------
27   !! NEMO/OPA 3.3 , NEMO Consortium (2010)
28   !! $Id$
29   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
30   !!----------------------------------------------------------------------
31CONTAINS
32
33   SUBROUTINE dom_stp
34      !!----------------------------------------------------------------------
35      !!                    ***  ROUTINE dom_stp  ***
36      !!         
37      !! ** Purpose :   Intialize ocean time step for the run
38      !!
39      !! ** Method  : - Initialization of a coef. use in the Asselin time
40      !!      filter:  atfp1 = 1 - 2 * atfp  where atfp is the Asselin time
41      !!      filter parameter read in namelist
42      !!              - Model time step:
43      !!                synchronous time intergration.
44      !!      There is one time step only, defined by: rdt for dynamics and
45      !!      tracer,wind stress, surface heat and salt fluxes
46      !!
47      !! ** Action  : [REMOVED - rdttra: vertical profile of tracer time step]
48      !!              - atfp1    : = 1 - 2*atfp
49      !!
50      !! References :   Bryan, K., 1984, J. Phys. Oceanogr., 14, 666-673.
51      !!----------------------------------------------------------------------
52      INTEGER ::   jk              ! dummy loop indice
53      !!----------------------------------------------------------------------
54
55      IF(lwp) THEN
56         WRITE(numout,*)
57         WRITE(numout,*) 'dom_stp : time stepping setting'
58         WRITE(numout,*) '~~~~~~~'
59      ENDIF
60
61      ! 0. Asselin Time filter
62      ! ----------------------
63     
64      atfp1 = 1. - 2. * atfp
65
66      IF(lwp) WRITE(numout,*)'               synchronous time stepping'
67      IF(lwp) WRITE(numout,*)'               dynamics and tracer time step = ', rdt/3600., ' hours'
68
69
70   END SUBROUTINE dom_stp
71
72   !!======================================================================
73END MODULE domstp
Note: See TracBrowser for help on using the repository browser.