Ignore:
Timestamp:
Jul 24, 2024, 6:46:45 PM (4 months ago)
Author:
abarral
Message:

enforce PRIVATE by default in several modules, expose PUBLIC as needed
move eigen.f90 to obsolete/
(lint) aslong the way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dynphy_lonlat/gr_fi_dyn.f90

    r5105 r5119  
    1 
    21! $Header$
    32
    4 SUBROUTINE gr_fi_dyn(nfield,ngrid,im,jm,pfi,pdyn)
     3SUBROUTINE gr_fi_dyn(nfield, ngrid, im, jm, pfi, pdyn)
     4  USE lmdz_ssum_scopy, ONLY: scopy
     5
    56  IMPLICIT NONE
    67  !=======================================================================
     
    1213  !   -------------
    1314
    14   INTEGER :: im,jm,ngrid,nfield
    15   REAL :: pdyn(im,jm,nfield)
    16   REAL :: pfi(ngrid,nfield)
     15  INTEGER :: im, jm, ngrid, nfield
     16  REAL :: pdyn(im, jm, nfield)
     17  REAL :: pfi(ngrid, nfield)
    1718
    18   INTEGER :: i,j,ifield,ig
     19  INTEGER :: i, j, ifield, ig
    1920
    2021  !-----------------------------------------------------------------------
     
    2223  !   -------
    2324
    24   DO ifield=1,nfield
    25   !   traitement des poles
    26      DO i=1,im
    27         pdyn(i,1,ifield)=pfi(1,ifield)
    28         pdyn(i,jm,ifield)=pfi(ngrid,ifield)
    29      ENDDO
     25  DO ifield = 1, nfield
     26    !   traitement des poles
     27    DO i = 1, im
     28      pdyn(i, 1, ifield) = pfi(1, ifield)
     29      pdyn(i, jm, ifield) = pfi(ngrid, ifield)
     30    ENDDO
    3031
    31   !   traitement des point normaux
    32      DO j=2,jm-1
    33         ig=2+(j-2)*(im-1)
    34         CALL SCOPY(im-1,pfi(ig,ifield),1,pdyn(1,j,ifield),1)
    35         pdyn(im,j,ifield)=pdyn(1,j,ifield)
    36      ENDDO
     32    !   traitement des point normaux
     33    DO j = 2, jm - 1
     34      ig = 2 + (j - 2) * (im - 1)
     35      CALL SCOPY(im - 1, pfi(ig, ifield), 1, pdyn(1, j, ifield), 1)
     36      pdyn(im, j, ifield) = pdyn(1, j, ifield)
     37    ENDDO
    3738  ENDDO
    3839
Note: See TracChangeset for help on using the changeset viewer.