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 branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC – NEMO

source: branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/istate.F90 @ 2281

Last change on this file since 2281 was 2281, checked in by smasson, 14 years ago

set proper svn properties to all files...

  • Property svn:keywords set to Id
File size: 2.5 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 ldftra_oce      ! ocean active tracers: lateral physics
14   USE zdf_oce         ! ocean vertical physics
15   USE in_out_manager  ! I/O manager
16   USE phycst          ! physical constants
17
18   IMPLICIT NONE
19   PRIVATE
20
21   !! * Routine accessibility
22   PUBLIC istate_init   ! routine called by step.F90
23
24   !! * Substitutions
25#  include "domzgr_substitute.h90"
26#  include "vectopt_loop_substitute.h90"
27   !!----------------------------------------------------------------------
28   !!   OPA 9.0 , LOCEAN-IPSL  (2005)
29   !!   $Id$
30   !!   This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
31   !!----------------------------------------------------------------------
32
33CONTAINS
34
35   SUBROUTINE istate_init
36      !!----------------------------------------------------------------------
37      !!                   ***  ROUTINE istate_init  ***
38      !!
39      !! ** Purpose :   Initialization of the dynamics and tracers.
40      !!
41      !! ** Method  :
42      !!
43      !! History :
44      !!   4.0  !  91-03  ()  Original code
45      !!        !  91-11  (G. Madec)
46      !!   9.0  !  03-09  (G. Madec)  F90: Free form, modules, orthogonality
47      !!----------------------------------------------------------------------
48      !! * Local declarations
49      !!----------------------------------------------------------------------
50
51
52      ! Initialization to zero
53      ! ----------------------
54
55      !     before fields       !       now fields        !      after fields       !
56      ;   un   (:,:,:) = 0.e0   ;   ua   (:,:,:) = 0.e0
57      ;   vn   (:,:,:) = 0.e0   ;   va   (:,:,:) = 0.e0
58      ;                         ;   wn   (:,:,:) = 0.e0   
59      ;   hdivn(:,:,:) = 0.e0   ;
60
61      ;   tsn  (:,:,:,:) = 0.e0 
62
63      rhd  (:,:,:) = 0.e0
64      rhop (:,:,:) = 0.e0
65      rn2  (:,:,:) = 0.e0 
66
67
68   END SUBROUTINE istate_init
69
70   !!=====================================================================
71END MODULE istate
Note: See TracBrowser for help on using the repository browser.