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 2371 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/TRA/traldf.F90 – NEMO

Ignore:
Timestamp:
2010-11-10T16:38:27+01:00 (13 years ago)
Author:
acc
Message:

nemo_v3_3_beta. Improvement of the Griffies operator code (#680). Some aspects are still undergoing scientific assessment but the code structure is ready for release. Dynamical allocation of the large triad arrays has been introduced to reduce memory when the new operator is not in use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/TRA/traldf.F90

    r2287 r2371  
    7373      CASE ( 1 )     
    7474         IF ( ln_traldf_grif ) THEN 
    75             CALL tra_ldf_iso_grif    ( kt )           ! Griffies quarter-cell formulation 
     75 
     76            CALL tra_ldf_iso_grif    ( kt, 'TRA', gtsu, gtsv, tsb, tsa, jpts, ahtb0  )           ! Griffies quarter-cell formulation 
    7677         ELSE 
    7778            CALL tra_ldf_iso   ( kt, 'TRA', gtsu, gtsv, tsb, tsa, jpts, ahtb0 )  ! rotated laplacian 
     
    8586         &             tab3d_2=tsa(:,:,:,jp_sal), clinfo2=       ' Sa: ', mask2=tmask, clinfo3='tra' ) 
    8687         IF ( ln_traldf_grif ) THEN 
    87             CALL tra_ldf_iso_grif    ( kt ) 
     88            CALL tra_ldf_iso_grif    ( kt, 'TRA', gtsu, gtsv, tsb, tsa, jpts, ahtb0 ) 
    8889         ELSE 
    8990            CALL tra_ldf_iso   ( kt, 'TRA', gtsu, gtsv, tsb, tsa, jpts, ahtb0 )   
     
    133134      INTEGER ::   ioptio, ierr         ! temporary integers  
    134135!       
    135 !     NAMELIST/namtra_ldf/ ln_traldf_lap  , ln_traldf_bilap,                  & 
    136 !        &                 ln_traldf_level, ln_traldf_hor  , ln_traldf_iso,   & 
    137 !        &                 rn_aht_0       , rn_ahtb_0      , rn_aeiv_0 
    138136      !!---------------------------------------------------------------------- 
    139137 
     
    141139      ! =============================================== 
    142140     
    143 !     REWIND( numnam )                ! Namelist namtra_ldf already read in ldftra module 
    144 !     READ  ( numnam, namtra_ldf )     
    145  
    146141      IF(lwp) THEN                    ! Namelist print 
    147142         WRITE(numout,*) 
    148143         WRITE(numout,*) 'tra_ldf_init : lateral tracer diffusive operator' 
    149144         WRITE(numout,*) '~~~~~~~~~~~' 
    150          WRITE(numout,*) '   Namelist namtra_ldf : set lateral mixing parameters (type, direction, coefficients)' 
    151          WRITE(numout,*) '      laplacian operator          ln_traldf_lap   = ', ln_traldf_lap 
    152          WRITE(numout,*) '      bilaplacian operator        ln_traldf_bilap = ', ln_traldf_bilap 
    153          WRITE(numout,*) '      iso-level                   ln_traldf_level = ', ln_traldf_level 
    154          WRITE(numout,*) '      horizontal (geopotential)   ln_traldf_hor   = ', ln_traldf_hor 
    155          WRITE(numout,*) '      iso-neutral                 ln_traldf_iso   = ', ln_traldf_iso 
    156          WRITE(numout,*) '      iso-neutral (Griffies)      ln_traldf_grif  = ', ln_traldf_grif 
     145         WRITE(numout,*) '   Namelist namtra_ldf already read in ldftra module' 
     146         WRITE(numout,*) '   see ldf_tra_init report for lateral mixing parameters' 
     147         WRITE(numout,*) 
    157148      ENDIF 
    158149 
Note: See TracChangeset for help on using the changeset viewer.