1 | MODULE 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 | !!---------------------------------------------------------------------- |
---|
29 | CONTAINS |
---|
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 | !!====================================================================== |
---|
71 | END MODULE domstp |
---|