Changeset 2528 for trunk/NEMOGCM/NEMO/OFF_SRC/istate.F90
- Timestamp:
- 2010-12-27T18:33:53+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OFF_SRC/istate.F90
- Property svn:eol-style deleted
r1715 r2528 2 2 !!====================================================================== 3 3 !! *** MODULE istate *** 4 !! Ocean state : initial state setting 4 !! Ocean state : initial state setting, off-line case 5 5 !!===================================================================== 6 !! History : 3.3 ! 2010-10 (C. Ethe) original code 7 !!---------------------------------------------------------------------- 6 8 7 9 !!---------------------------------------------------------------------- 8 !! istate_init : initial state set ting10 !! istate_init : initial state set to zero 9 11 !!---------------------------------------------------------------------- 10 !! * Modules used11 12 USE oce ! ocean dynamics and active tracers 12 13 USE dom_oce ! ocean space and time domain 13 USE ldftra_oce ! ocean active tracers: lateral physics14 USE zdf_oce ! ocean vertical physics15 USE in_out_manager ! I/O manager16 USE phycst ! physical constants17 14 18 15 IMPLICIT NONE 19 16 PRIVATE 20 17 21 !! * Routine accessibility 22 PUBLIC istate_init ! routine called by step.F90 18 PUBLIC istate_init ! routine called by step.F90 23 19 24 20 !! * Substitutions … … 26 22 # include "vectopt_loop_substitute.h90" 27 23 !!---------------------------------------------------------------------- 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 24 !! NEMO/OFF 3.3 , NEMO Consortium (2010) 25 !! $Id$ 26 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 27 !!--------------------------------------------------------------------- 33 28 CONTAINS 34 29 … … 37 32 !! *** ROUTINE istate_init *** 38 33 !! 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 34 !! ** Purpose : Initialization to zero of the dynamics and tracers. 47 35 !!---------------------------------------------------------------------- 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 ; tn (:,:,:) = 0.e0 ; ta (:,:,:) = 0.e0 62 ; sn (:,:,:) = 0.e0 ; sa (:,:,:) = 0.e0 63 36 ! 37 ! now fields ! after fields ! 38 un (:,:,:) = 0._wp ; ua(:,:,:) = 0._wp ! 39 vn (:,:,:) = 0._wp ; va(:,:,:) = 0._wp ! 40 wn (:,:,:) = 0._wp ! ! 41 hdivn(:,:,:) = 0._wp ! ! 42 tsn (:,:,:,:) = 0._wp ! ! 43 ! 64 44 rhd (:,:,:) = 0.e0 65 45 rhop (:,:,:) = 0.e0 66 46 rn2 (:,:,:) = 0.e0 67 68 47 ! 69 48 END SUBROUTINE istate_init 70 49
Note: See TracChangeset
for help on using the changeset viewer.