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 2690 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_2/dom_ice_2.F90 – NEMO

Ignore:
Timestamp:
2011-03-15T16:27:46+01:00 (13 years ago)
Author:
gm
Message:

dynamic mem: #785 ; homogeneization of the coding style associated with dyn allocation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/LIM_SRC_2/dom_ice_2.F90

    r2636 r2690  
    5151      ierr(:) = 0 
    5252      ! 
    53       ALLOCATE( fs2cor(jpi,jpj),  fcor(jpi,jpj),                             & 
    54          &      covrai(jpi,jpj),  area(jpi,jpj), tms(jpi,jpj), tmu(jpi,jpj), & 
    55          &      wght(jpi,jpj,2,2),  Stat=ierr(1) ) 
     53      ALLOCATE( fs2cor(jpi,jpj)     , fcor(jpi,jpj) ,                                   & 
     54         &      covrai(jpi,jpj)     , area(jpi,jpj) , tms(jpi,jpj) , tmu(jpi,jpj) ,    & 
     55         &      wght  (jpi,jpj,2,2)                                               , STAT=ierr(1) ) 
    5656         ! 
    57       ALLOCATE(                                                              & 
     57      ALLOCATE(                                                    & 
    5858#if defined key_lim2_vp  
    59          &        akappa(jpi,jpj,2,2), bkappa(jpi,jpj,2,2),                  & 
    60          &        alambd(jpi,jpj,2,2,2,2),                                   & 
     59         &        akappa(jpi,jpj,2,2)     , bkappa(jpi,jpj,2,2),   & 
     60         &        alambd(jpi,jpj,2,2,2,2) ,                        & 
    6161#else 
    62          &        tmv(jpi,jpj), tmf(jpi,jpj), tmi(jpi,jpj),                  & 
     62         &        tmv(jpi,jpj) , tmf(jpi,jpj) , tmi(jpi,jpj) ,     & 
    6363#endif 
    64          &        Stat=ierr(2) ) 
     64         &        STAT=ierr(2) ) 
    6565         ! 
    6666      dom_ice_alloc_2 = MAXVAL(ierr) 
Note: See TracChangeset for help on using the changeset viewer.