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 2141 for branches/dev_1784_PATM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2010-09-30T15:22:26+02:00 (14 years ago)
Author:
cbricaud
Message:

add module to read atmospheric pressure and module to compute surface pressure gradient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_1784_PATM/NEMO/OPA_SRC/step.F90

    r1756 r2141  
    2828   USE oce             ! ocean dynamics and tracers variables 
    2929   USE dom_oce         ! ocean space and time domain variables  
     30   USE sbc_oce         ! surface boundary condition 
    3031   USE zdf_oce         ! ocean vertical physics variables 
    3132   USE ldftra_oce      ! ocean tracer   - trends 
     
    4243   USE sbcrnf          ! surface boundary condition: runoff variables 
    4344   USE sbccpl          ! surface boundary condition: coupled formulation (call send at end of step) 
     45   USE sbcpatm         ! Atmospheric pressure forcing 
    4446   USE cpl_oasis3, ONLY : lk_cpl 
    4547 
     
    7072   USE dynzdf          ! vertical diffusion               (dyn_zdf routine) 
    7173   USE dynspg_oce      ! surface pressure gradient        (dyn_spg routine) 
     74   USE dynapg          ! atmospheric pressure forcing     (dyn_apg routine) 
    7275   USE dynspg          ! surface pressure gradient        (dyn_spg routine) 
    7376   USE dynnxt          ! time-stepping                    (dyn_nxt routine) 
     
    168171!      IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 
    169172!      IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp 
    170 #endif    
     173#endif 
    171174      indic = 1                                       ! reset to no error condition 
    172175 
     
    310313                               CALL dyn_zdf( kstp )         ! vertical diffusion 
    311314                               indic=0 
     315        IF( ln_patm_apg  )     CALL dyn_apg( kstp )         ! Atmospheric pressure forcing 
    312316                               CALL dyn_spg( kstp, indic )  ! surface pressure gradient 
    313317                               CALL dyn_nxt( kstp )         ! lateral velocity at next time step 
Note: See TracChangeset for help on using the changeset viewer.