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/ord_coord.F

    r259 r269  
    1 C
    2 C $Header$
    3 C
    41       SUBROUTINE ord_coord ( nmax, xi, xo, decrois )
    52
     
    1310
    1411       INTEGER nmax
    15        REAL xi(1)
    16        INTEGER nscr
    17        PARAMETER ( nscr = 4000 )
    18        REAL xscr(nscr)
     12       REAL xi(nmax)
    1913
    2014c    .....  Arguments  en sortie  .....
    2115c
    22        REAL xo(1)
     16       REAL xo(nmax+1)
    2317       LOGICAL decrois
    2418
    2519c    .... Variables  locales  ....
    2620
     21       REAL xscr(nmax)
    2722       INTEGER i,ii
    2823       REAL pi, degres, chmin, chmax, mult
    2924c
    30 
    31        IF( nmax.GT.nscr )   THEN
    32          PRINT *,' Dans ord_coord  , nmax = ',nmax, 'est plus grand que'
    33      ,, ' nscr !  Mettre nscr a la valeur de nmax et repasser ! ' 
    34          CALL ABORT
    35        ENDIF
    3625
    3726       pi     = 2.*ASIN(1.)
Note: See TracChangeset for help on using the changeset viewer.