- Timestamp:
- Jul 24, 2024, 6:46:45 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dynphy_lonlat/gr_fi_dyn.f90
r5105 r5119 1 2 1 ! $Header$ 3 2 4 SUBROUTINE gr_fi_dyn(nfield,ngrid,im,jm,pfi,pdyn) 3 SUBROUTINE gr_fi_dyn(nfield, ngrid, im, jm, pfi, pdyn) 4 USE lmdz_ssum_scopy, ONLY: scopy 5 5 6 IMPLICIT NONE 6 7 !======================================================================= … … 12 13 ! ------------- 13 14 14 INTEGER :: im, jm,ngrid,nfield15 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) 17 18 18 INTEGER :: i, j,ifield,ig19 INTEGER :: i, j, ifield, ig 19 20 20 21 !----------------------------------------------------------------------- … … 22 23 ! ------- 23 24 24 DO ifield =1,nfield25 ! traitement des poles26 DO i=1,im27 pdyn(i,1,ifield)=pfi(1,ifield)28 pdyn(i,jm,ifield)=pfi(ngrid,ifield)29 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 30 31 31 ! traitement des point normaux32 DO j=2,jm-133 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 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 37 38 ENDDO 38 39
Note: See TracChangeset
for help on using the changeset viewer.