Ignore:
Timestamp:
05/02/06 15:32:01 (18 years ago)
Author:
pinsard
Message:

upgrade of TRIANGULATION according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/ : files

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/TRIANGULATION/triangule_e.pro

    r27 r29  
    3232;------------------------------------------------------------ 
    3333FUNCTION triangule_e, maskentree, COINMONTE = coinmonte, COINDESCEND = coindescend $ 
    34                   , SHIFTED = shifted, REGULIER = regulier, PERIODIQUE = periodique 
     34                  , SHIFTED = shifted, BASIC = basic 
     35;--------------------------------------------------------- 
     36@cm_4mesh 
     37  IF NOT keyword_set(key_forgetold) THEN BEGIN 
     38@updatenew 
     39  ENDIF 
     40;--------------------------------------------------------- 
    3541   tempsun = systime(1)         ; pour key_performance 
    36 @common 
    37    ;; 
    3842;------------------------------------------------------------ 
    3943; le masque est donne ou il faut prendre tmask? 
     
    4549   ny = sizem[2] 
    4650;------------------------------------------------------------ 
    47    if n_elements(periodique) EQ 0 then periodique = keyword_set(key_periodique) 
    48    if keyword_set(key_periodique) and keyword_set(periodique) $ 
    49     AND NOT keyword_set(regulier) then BEGIN  
     51   if keyword_set(key_periodic)*(nx EQ jpi) $ 
     52    AND NOT keyword_set(basic) then BEGIN  
    5053      msk = [msk, msk[0, *]] 
    5154      nx = nx+1 
     
    132135; ; 
    133136;------------------------------------------------------------ 
    134 ; quand key_periodique eq 1, triang est une liste d''indice d'un 
     137; quand key_periodic eq 1, triang est une liste d''indice d'un 
    135138; tableau qui a une colonne de trop. 
    136139; il faut ramener ca a la matrice initiale en mettant les indivces de 
     
    138141;------------------------------------------------------------ 
    139142   tempdeux = systime(1)        ; pour key_performance =2 
    140    if keyword_set(key_periodique) and keyword_set(periodique) $ 
    141     AND NOT keyword_set(regulier) then BEGIN  
     143   if keyword_set(key_periodic)*(nx-1 EQ jpi) $ 
     144    AND NOT keyword_set(basic) then BEGIN  
    142145      indicey = triang/nx 
    143146      indicex = triang-indicey*nx 
     
    170173 
    171174;------------------------------------------------------------ 
    172 ;    if arg_present(coinmonte) THEN coinmonte = coinmont ELSE cointerremont = coinmont 
    173 ;    if arg_present(coindescend) THEN coindescend = coindesc ELSE cointerredesc = coindesc 
     175;    if arg_present(coinmonte) THEN coinmonte = coinmont ELSE twin_corners_up = coinmont 
     176;    if arg_present(coindescend) THEN coindescend = coindesc ELSE twin_corners_dn = coindesc 
    174177; 
    175 ;  
     178;   IF NOT keyword_set(key_forgetold) THEN BEGIN 
     179;    @updateold 
     180;   ENDIF 
    176181;------------------------------------------------------------ 
    177182 
Note: See TracChangeset for help on using the changeset viewer.