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.
istate.F90 in trunk/NEMO/OFF_SRC – NEMO

source: trunk/NEMO/OFF_SRC/istate.F90 @ 973

Last change on this file since 973 was 719, checked in by ctlod, 17 years ago

get back to the nemo_v2_3 version for trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1MODULE istate
2   !!======================================================================
3   !!                     ***  MODULE  istate  ***
4   !! Ocean state   :  initial state setting
5   !!=====================================================================
6
7   !!----------------------------------------------------------------------
8   !!   istate_init   : initial state setting
9   !!----------------------------------------------------------------------
10   !! * Modules used
11   USE oce             ! ocean dynamics and active tracers
12   USE dom_oce         ! ocean space and time domain
13   USE daymod          !
14   USE ldftra_oce      ! ocean active tracers: lateral physics
15   USE zdf_oce         ! ocean vertical physics
16   USE in_out_manager  ! I/O manager
17   USE phycst          ! physical constants
18
19   IMPLICIT NONE
20   PRIVATE
21
22   !! * Routine accessibility
23   PUBLIC istate_init   ! routine called by step.F90
24
25   !! * Substitutions
26#  include "domzgr_substitute.h90"
27#  include "vectopt_loop_substitute.h90"
28   !!----------------------------------------------------------------------
29   !!   OPA 9.0 , LOCEAN-IPSL  (2005)
30   !!   $Header$
31   !!   This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
32   !!----------------------------------------------------------------------
33
34CONTAINS
35
36   SUBROUTINE istate_init
37      !!----------------------------------------------------------------------
38      !!                   ***  ROUTINE istate_init  ***
39      !!
40      !! ** Purpose :   Initialization of the dynamics and tracers.
41      !!
42      !! ** Method  :
43      !!
44      !! History :
45      !!   4.0  !  91-03  ()  Original code
46      !!        !  91-11  (G. Madec)
47      !!   9.0  !  03-09  (G. Madec)  F90: Free form, modules, orthogonality
48      !!----------------------------------------------------------------------
49      !! * Local declarations
50      !!----------------------------------------------------------------------
51
52
53      ! Initialization to zero
54      ! ----------------------
55
56      !     before fields       !       now fields        !      after fields       !
57      ;   un   (:,:,:) = 0.e0   ;   ua   (:,:,:) = 0.e0
58      ;   vn   (:,:,:) = 0.e0   ;   va   (:,:,:) = 0.e0
59      ;                         ;   wn   (:,:,:) = 0.e0   
60      ;   hdivn(:,:,:) = 0.e0   ;
61
62      ;   tn   (:,:,:) = 0.e0   ;   ta   (:,:,:) = 0.e0
63      ;   sn   (:,:,:) = 0.e0   ;   sa   (:,:,:) = 0.e0
64
65      rhd  (:,:,:) = 0.e0
66      rhop (:,:,:) = 0.e0
67      rn2  (:,:,:) = 0.e0 
68
69
70   END SUBROUTINE istate_init
71
72   !!=====================================================================
73END MODULE istate
Note: See TracBrowser for help on using the repository browser.