Ignore:
Timestamp:
Sep 5, 2001, 3:28:02 PM (23 years ago)
Author:
lmdz
Message:

Remplacement des allocates par des dimensionnements classiques. LeVan?
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/trunk/libf/dyn3d/inter_barxy.F

    r259 r269  
    1 C
    2 C $Header$
    3 C
    41       SUBROUTINE inter_barxy ( interfd,jnterfd,dlonid,dlatid ,
    52     ,        champ,imod,jmod,rlonimod,rlatimod, jsort,champint )
     
    1613#include "comgeom2.h"
    1714
    18        REAL champx(iip1),chpn(iip1),chps(iip1)
     15       REAL champx(imod),champy(jnterfd +1,imod),chpn(imod),chps(imod)
    1916       REAL chhpn,chhps
    2017       REAL fmody(jjp1)
    21        INTEGER jmp1
    22    
    23        REAL,ALLOCATABLE :: champy(:,:)
    24        ALLOCATE(champy(jnterfd+1,iip1))
    2518c
    2619
     20         print *,' NEEEEE BY ** '
    2721       DO j = 1, jnterfd + 1
    2822        CALL inter_barx( interfd, dlonid, champ( 1,j ),
    2923     ,                       imod, rlonimod , champx )
    30        
    3124         DO i = 1,imod
    3225           champy(j,i) = champx(i)
     
    3629       DO i = 1, imod
    3730        CALL inter_bary( jjm,jnterfd,dlatid,champy(1,i),
    38      ,                        jmod ,rlatimod,  fmody     )
     31     ,                     jmod ,rlatimod,  fmody     )
    3932          DO j = 1, jsort
    4033           champint(i,j) = fmody(j)
     
    6053       ENDIF
    6154
    62          DEALLOCATE(champy)
    63 
    6455       RETURN
    6556       END
Note: See TracChangeset for help on using the changeset viewer.