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.
Changeset 10928 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OFF/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2019-05-03T17:44:56+02:00 (5 years ago)
Author:
davestorkey
Message:

2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps : Finish converting DYN module, including some updates to previously processed modules, but excluding dynnxt.F90 (which needs to be completely rewritten) and wet_dry.F90 - I need to talk to Enda about this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OFF/nemogcm.F90

    r10922 r10928  
    315315      IF( ln_ctl       )   CALL prt_ctl_init        ! Print control 
    316316 
    317                            CALL  istate_init    ! ocean initial state (Dynamics and tracers) 
     317                           CALL  istate_init( Nnn, Naa )    ! ocean initial state (Dynamics and tracers) 
    318318 
    319319                           CALL     sbc_init( Nbb, Nnn )    ! Forcings : surface module 
     
    524524   END SUBROUTINE nemo_set_cfctl 
    525525 
    526    SUBROUTINE istate_init 
     526   SUBROUTINE istate_init( Kmm, Kaa ) 
    527527      !!---------------------------------------------------------------------- 
    528528      !!                   ***  ROUTINE istate_init  *** 
     
    530530      !! ** Purpose :   Initialization to zero of the dynamics and tracers. 
    531531      !!---------------------------------------------------------------------- 
     532      INTEGER, INTENT(in) ::   Kmm, Kaa  ! ocean time level indices 
    532533      ! 
    533534      !     now fields         !     after fields      ! 
    534       un   (:,:,:)   = 0._wp   ;   ua(:,:,:) = 0._wp   ! 
    535       vn   (:,:,:)   = 0._wp   ;   va(:,:,:) = 0._wp   ! 
    536       wn   (:,:,:)   = 0._wp   !                       ! 
     535      uu   (:,:,:,Kmm)   = 0._wp   ;   uu(:,:,:,Kaa) = 0._wp   ! 
     536      vv   (:,:,:,Kmm)   = 0._wp   ;   vv(:,:,:,Kaa) = 0._wp   ! 
     537      ww   (:,:,:)   = 0._wp   !                       ! 
    537538      hdivn(:,:,:)   = 0._wp   !                       ! 
    538       tsn  (:,:,:,:) = 0._wp   !                       ! 
     539      ts  (:,:,:,:,Kmm) = 0._wp   !                       ! 
    539540      ! 
    540541      rhd  (:,:,:) = 0.e0 
Note: See TracChangeset for help on using the changeset viewer.