[325] | 1 | MODULE 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 | !!---------------------------------------------------------------------- |
---|
[343] | 29 | !! OPA 9.0 , LOCEAN-IPSL (2005) |
---|
[719] | 30 | !! $Header$ |
---|
[343] | 31 | !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
[325] | 32 | !!---------------------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | CONTAINS |
---|
| 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 | !!===================================================================== |
---|
| 73 | END MODULE istate |
---|