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 434 for trunk/NEMO/OPA_SRC/DOM/domhgr.F90 – NEMO

Ignore:
Timestamp:
2006-04-10T17:46:12+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_044 : CT : update the passive tracers TOP component and the standard GYRE configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DOM/domhgr.F90

    r418 r434  
    1313   USE phycst          ! physical constants 
    1414   USE in_out_manager  ! I/O manager 
     15   USE lib_mpp 
    1516 
    1617   IMPLICIT NONE 
     
    106107         ztj, zuj, zvj, zfj,         &  ! 
    107108         zphi0, zbeta, znorme,       &  ! 
    108          zarg, zf0 
     109         zarg, zf0, zminff, zmaxff 
    109110      REAL(wp) ::   & 
    110111         zlam1, zcos_alpha, zim1 , zjm1 , ze1, ze1deg,   & 
     
    442443          
    443444         IF(lwp) WRITE(numout,*)  
    444          IF(lwp) WRITE(numout,*) ' Beta-plane: Beta parameter = constant = ', ff(1,1) 
    445          IF(lwp) WRITE(numout,*) ' Coriolis parameter varies from ', ff(1,1),' to ', ff(1,jpj) 
    446  
    447       CASE ( 5 )                     ! beta-plane and rotated domain 
     445         IF(lwp) WRITE(numout,*) ' Beta-plane: Beta parameter = constant = ', ff(nldi,nldj) 
     446         IF(lwp) WRITE(numout,*) ' Coriolis parameter varies from ', ff(nldi,nldj),' to ', ff(nldi,nlej) 
     447         IF( lk_mpp ) THEN  
     448            zminff=ff(nldi,nldj) 
     449            zmaxff=ff(nldi,nlej) 
     450            CALL mpp_min( zminff )   ! min over the global domain 
     451            CALL mpp_max( zmaxff )   ! max over the global domain 
     452            IF(lwp) WRITE(numout,*) ' Coriolis parameter varies globally from ', zminff,' to ', zmaxff 
     453         END IF 
     454 
     455      CASE ( 5 )                     ! beta-plane and rotated domain (gyre configuration) 
    448456 
    449457         zbeta = 2. * omega * COS( rad * ppgphi0 ) / ra                     ! beta at latitude ppgphi0 
     
    453461         ff(:,:) = ( zf0 + zbeta * ABS( gphif(:,:) - zphi0 ) * rad * ra )   ! f = f0 +beta* y ( y=0 at south) 
    454462 
    455          IF(lwp) WRITE(numout,*) '          Beta-plane: Beta parameter = constant = ', ff(1,1) 
    456          IF(lwp) WRITE(numout,*) '                      Coriolis parameter varies from ', ff(1,1),' to ', ff(1,jpj) 
     463         IF(lwp) WRITE(numout,*) ' Beta-plane and rotated domain : ' 
     464         IF(lwp) WRITE(numout,*) ' Coriolis parameter varies in this processor from ', ff(nldi,nldj),' to ', ff(nldi,nlej) 
     465         IF( lk_mpp ) THEN  
     466            zminff=ff(nldi,nldj) 
     467            zmaxff=ff(nldi,nlej) 
     468            CALL mpp_min( zminff )   ! min over the global domain 
     469            CALL mpp_max( zmaxff )   ! max over the global domain 
     470            IF(lwp) WRITE(numout,*) ' Coriolis parameter varies globally from ', zminff,' to ', zmaxff 
     471         END IF 
    457472 
    458473      END SELECT 
Note: See TracChangeset for help on using the changeset viewer.