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 1291 for trunk/NEMO/OFF_SRC/opa.F90 – NEMO

Ignore:
Timestamp:
2009-02-03T15:22:22+01:00 (15 years ago)
Author:
cetlod
Message:

update modules, see ticket:320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OFF_SRC/opa.F90

    r1152 r1291  
    2020   USE istate          ! initial state setting          (istate_init routine) 
    2121   USE eosbn2          ! equation of state            (eos bn2 routine) 
    22    USE zpshde          ! partial step: hor. derivative (zps_hde routine) 
    2322 
    2423   ! ocean physics 
     
    130129      ENDIF 
    131130 
    132  
    133131      !                                     ! ============================== ! 
    134132      !                                     !  Model general initialization  ! 
     
    138136 
    139137                                            ! Domain decomposition 
    140       IF( jpni*jpnj == jpnij ) THEN 
     138      IF( jpni * jpnj == jpnij ) THEN 
    141139         CALL mpp_init                          ! standard cutting out 
    142140      ELSE 
     
    147145 
    148146      CALL dom_cfg                          ! Domain configuration 
    149        
     147 
    150148      CALL dom_init                         ! Domain 
    151149 
    152       CALL day( nit000 )                    ! Calendar 
     150      CALL istate_init                      ! ocean initial state (Dynamics and tracers) 
    153151 
    154       CALL istate_init                      ! ocean initial state (Dynamics and tracers) 
    155 !!add 
    156                        CALL eos( tn, sn, rhd, rhop )        ! before potential and in situ densities 
     152      CALL trc_ini                           ! Passive tracers 
    157153 
    158                        CALL bn2( tn, sn, rn2 )              ! before Brunt-Vaisala frequency 
     154      CALL day_init                          ! Calendar 
    159155 
    160       IF( ln_zps    )   CALL zps_hde( nit000, tn, sn, rhd,  &  ! Partial steps: before Horizontal DErivative 
    161                                           gtu, gsu, gru, &  ! of t, s, rd at the bottom ocean level 
    162                                           gtv, gsv, grv ) 
    163  
    164 !!add 
    165  
    166       ! Initialization for the dynamics 
    167       ! 
    168       CALL dta_dyn(nit000)      
    169  
    170 #if defined key_top 
    171       CALL trc_ini                           ! Passive tracers 
    172 #endif 
    173  
     156      CALL dta_dyn( nit000 )                 ! Initialization for the dynamics 
    174157      !                                     ! Ocean physics 
    175158      CALL tra_qsr_init                         ! Solar radiation penetration 
     
    178161      CALL ldf_tra_init                         ! Lateral ocean tracer physics 
    179162#endif  
    180  
    181       !                                     ! Ocean trends 
    182  
    183163      !                                     ! =============== ! 
    184164      !                                     !  time stepping  ! 
Note: See TracChangeset for help on using the changeset viewer.