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/OPA_SRC/SBC/geo2ocean.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/OPA_SRC/SBC/geo2ocean.F90

    r2636 r2690  
    513513      !!   8.5  !  02-08  (G. Madec)  F90: Free form 
    514514      !!---------------------------------------------------------------------- 
    515       !! * Arguments 
    516       REAL(wp), INTENT( IN   ), DIMENSION(jpi,jpj) ::   & 
    517          px1, py1          ! two horizontal components to be rotated 
    518       REAL(wp), INTENT( OUT  ), DIMENSION(jpi,jpj) ::   & 
    519          px2, py2          ! the two horizontal components in the model repere 
    520       INTEGER, INTENT( IN ) ::   & 
    521          kchoix   ! type of transformation 
    522                   ! = 1 change from geographic to model grid. 
    523                   ! =-1 change from model to geographic grid 
    524       CHARACTER(len=1), INTENT( IN ), OPTIONAL ::   cd_type      ! define the nature of pt2d array grid-points 
     515      REAL(wp), INTENT(in   ), DIMENSION(jpi,jpj) ::   px1, py1   ! two horizontal components to be rotated 
     516      REAL(wp), INTENT(  out), DIMENSION(jpi,jpj) ::   px2, py2   ! the two horizontal components in the model repere 
     517      INTEGER , INTENT(in   )                     ::   kchoix     ! type of transformation 
     518      !                                                           ! = 1 change from geographic to model grid. 
     519      !                                                           ! =-1 change from model to geographic grid 
     520      CHARACTER(len=1), INTENT(in   ), OPTIONAL   ::   cd_type    ! define the nature of pt2d array grid-points 
    525521      ! 
    526522      CHARACTER(len=1) ::   cl_type      ! define the nature of pt2d array grid-points (T point by default) 
     
    554550      !!   9.2  !  09-02  (K. Mogensen) 
    555551      !!---------------------------------------------------------------------- 
    556       REAL(wp), DIMENSION(jpi,jpj), INTENT( OUT )::   & 
    557          & psinu, pcosu, psinv, pcosv! copy of data 
     552      REAL(wp), DIMENSION(jpi,jpj), INTENT( OUT )::   psinu, pcosu, psinv, pcosv   ! copy of data 
    558553      !!---------------------------------------------------------------------- 
    559554 
Note: See TracChangeset for help on using the changeset viewer.