1 | MODULE istate |
---|
2 | !!====================================================================== |
---|
3 | !! *** MODULE istate *** |
---|
4 | !! Ocean state : initial state setting, off-line case |
---|
5 | !!===================================================================== |
---|
6 | !! History : 3.3 ! 2010-10 (C. Ethe) original code |
---|
7 | !!---------------------------------------------------------------------- |
---|
8 | |
---|
9 | !!---------------------------------------------------------------------- |
---|
10 | !! istate_init : initial state set to zero |
---|
11 | !!---------------------------------------------------------------------- |
---|
12 | USE oce ! ocean dynamics and active tracers |
---|
13 | USE dom_oce ! ocean space and time domain |
---|
14 | USE daymod ! calendar |
---|
15 | |
---|
16 | IMPLICIT NONE |
---|
17 | PRIVATE |
---|
18 | |
---|
19 | PUBLIC istate_init ! routine called by step.F90 |
---|
20 | |
---|
21 | !! * Substitutions |
---|
22 | # include "domzgr_substitute.h90" |
---|
23 | # include "vectopt_loop_substitute.h90" |
---|
24 | !!---------------------------------------------------------------------- |
---|
25 | !! NEMO/OFF 3.3 , NEMO Consortium (2010) |
---|
26 | !! $Id$ |
---|
27 | !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
28 | !!--------------------------------------------------------------------- |
---|
29 | CONTAINS |
---|
30 | |
---|
31 | SUBROUTINE istate_init |
---|
32 | !!---------------------------------------------------------------------- |
---|
33 | !! *** ROUTINE istate_init *** |
---|
34 | !! |
---|
35 | !! ** Purpose : Initialization to zero of the dynamics and tracers. |
---|
36 | !!---------------------------------------------------------------------- |
---|
37 | ! |
---|
38 | ! now fields ! after fields ! |
---|
39 | un (:,:,:) = 0._wp ; ua(:,:,:) = 0._wp ! |
---|
40 | vn (:,:,:) = 0._wp ; va(:,:,:) = 0._wp ! |
---|
41 | wn (:,:,:) = 0._wp ! ! |
---|
42 | hdivn(:,:,:) = 0._wp ! ! |
---|
43 | tsn (:,:,:,:) = 0._wp ! ! |
---|
44 | ! |
---|
45 | rhd (:,:,:) = 0.e0 |
---|
46 | rhop (:,:,:) = 0.e0 |
---|
47 | rn2 (:,:,:) = 0.e0 |
---|
48 | ! |
---|
49 | CALL day_init ! model calendar (using both namelist and restart infos) |
---|
50 | |
---|
51 | END SUBROUTINE istate_init |
---|
52 | |
---|
53 | !!===================================================================== |
---|
54 | END MODULE istate |
---|