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 1316 for trunk/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2009-02-17T16:12:46+01:00 (15 years ago)
Author:
smasson
Message:

continue changeset:1312, see ticke:322

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/trcdia.F90

    r1312 r1316  
    263263      ! Define frequency of output and means 
    264264      zdt = rdt 
     265      IF( ln_mskland )   THEN   ;   clop = "only(x)"   ! put 1.e+20 on land (very expensive!!) 
     266      ELSE                      ;   clop = "x"         ! no use of the mask value (require less cpu time) 
     267      ENDIF 
    265268#  if defined key_diainstant 
    266269      zsto = nwritetrd * rdt 
    267       clop = 'inst(only(x))' 
     270      clop = "inst("//TRIM(clop)//")" 
    268271#  else 
    269272      zsto = zdt 
    270       clop = 'ave(only(x))' 
     273      clop = "ave("//TRIM(clop)//")" 
    271274#  endif 
    272275      zout = nwritetrd * zdt 
     
    506509      ! Define frequency of output and means 
    507510      zdt = rdt 
     511      IF( ln_mskland )   THEN   ;   clop = "only(x)"   ! put 1.e+20 on land (very expensive!!) 
     512      ELSE                      ;   clop = "x"         ! no use of the mask value (require less cpu time) 
     513      ENDIF 
    508514#  if defined key_diainstant 
    509515      zsto=nwritedia*zdt 
    510       clop='inst(only(x))' 
     516      clop = "inst("//TRIM(clop)//")" 
    511517#  else 
    512518      zsto=zdt 
    513       clop='ave(only(x))' 
     519      clop = "ave("//TRIM(clop)//")" 
    514520#  endif 
    515521      zout=nwritedia*zdt 
     
    656662      ! Define frequency of output and means 
    657663      zdt = rdt 
     664      IF( ln_mskland )   THEN   ;   clop = "only(x)"   ! put 1.e+20 on land (very expensive!!) 
     665      ELSE                      ;   clop = "x"         ! no use of the mask value (require less cpu time) 
     666      ENDIF 
    658667#        if defined key_diainstant 
    659668      zsto=nwritebio*zdt 
    660       clop='inst(only(x))' 
     669      clop = "inst("//TRIM(clop)//")" 
    661670#        else 
    662671      zsto=zdt 
    663       clop='ave(only(x))' 
     672      clop = "ave("//TRIM(clop)//")" 
    664673#        endif 
    665674      zout=nwritebio*zdt 
Note: See TracChangeset for help on using the changeset viewer.