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 7476 – NEMO

Changeset 7476


Ignore:
Timestamp:
2016-12-08T11:11:29+01:00 (8 years ago)
Author:
kingr
Message:

Minor change from code reiew.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_25hr_mean_assim_bkg/NEMOGCM/NEMO/OPA_SRC/ASM/asmbkg.F90

    r6809 r7476  
    102102            CALL ctl_stop( 'asm_wri_bkg: unable to allocate tn_tavg' )   ;   RETURN 
    103103         ENDIF 
    104          tn_tavg=0 
     104         tn_tavg(:,:,:)=0 
    105105         ALLOCATE( sn_tavg(jpi,jpj,jpk), STAT=ierror ) 
    106106         IF( ierror > 0 ) THEN 
    107107            CALL ctl_stop( 'asm_wri_bkg: unable to allocate sn_tavg' )   ;   RETURN 
    108108         ENDIF 
    109          sn_tavg=0 
     109         sn_tavg(:,:,:)=0 
    110110         ALLOCATE( un_tavg(jpi,jpj,jpk), STAT=ierror ) 
    111111         IF( ierror > 0 ) THEN 
    112112            CALL ctl_stop( 'asm_wri_bkg: unable to allocate un_tavg' )   ;   RETURN 
    113113         ENDIF 
    114          un_tavg=0 
     114         un_tavg(:,:,:)=0 
    115115         ALLOCATE( vn_tavg(jpi,jpj,jpk), STAT=ierror ) 
    116116         IF( ierror > 0 ) THEN 
    117117            CALL ctl_stop( 'asm_wri_bkg: unable to allocate vn_tavg' )   ;   RETURN 
    118118         ENDIF 
    119          vn_tavg=0 
     119         vn_tavg(:,:,:)=0 
    120120         ALLOCATE( sshn_tavg(jpi,jpj), STAT=ierror ) 
    121121         IF( ierror > 0 ) THEN 
    122122            CALL ctl_stop( 'asm_wri_bkg: unable to allocate sshn_tavg' )   ;   RETURN 
    123123         ENDIF 
    124          sshn_tavg=0 
     124         sshn_tavg(:,:)=0 
    125125#if defined key_zdftke 
    126126         ALLOCATE( en_tavg(jpi,jpj,jpk), STAT=ierror ) 
     
    128128            CALL ctl_stop( 'asm_wri_bkg: unable to allocate en_tavg' )   ;   RETURN 
    129129         ENDIF 
    130          en_tavg=0 
     130         en_tavg(:,:,:)=0 
    131131#endif 
    132132         ALLOCATE( avt_tavg(jpi,jpj,jpk), STAT=ierror ) 
     
    134134            CALL ctl_stop( 'asm_wri_bkg: unable to allocate avt_tavg' )   ;   RETURN 
    135135         ENDIF 
    136          avt_tavg=0 
     136         avt_tavg(:,:,:)=0 
    137137          
    138138         numtimes_tavg = REAL ( nitavgbkg_r -  nn_it000 + 1 ) 
Note: See TracChangeset for help on using the changeset viewer.