source: trunk/SRC/ToBeReviewed/TRIANGULATION/triangule.pro @ 76

Last change on this file since 76 was 29, checked in by pinsard, 18 years ago

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

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 770 bytes
Line 
1FUNCTION triangule, maskentree, BASIC = basic, COINMONTE = coinmonte, COINDESCEND = coindescend, _extra = ex
2@common
3;
4  IF jpi EQ 1 OR jpj EQ 1 THEN return, -1
5;
6  IF arg_present(coinmonte) THEN coinmonte = 1
7  IF arg_present(coindescend) THEN coindescend = 1
8;
9   if keyword_set(basic) then $
10     return, triangule_c(maskentree, /BASIC, COINMONTE = coinmonte $
11                         , COINDESCEND = coindescend, _extra = ex)
12;
13   if n_elements(key_gridtype) EQ 0 then key_gridtype = 'c'
14   if n_elements(maskentree) EQ 0 then maskentree = tmask[*, *, 0]
15   case key_gridtype of
16      'e':res = triangule_e(maskentree, _extra = ex)
17      'c':res = triangule_c(maskentree, COINMONTE = coinmonte, COINDESCEND = coindescend, _extra = ex)
18   endcase
19   return, res
20end
Note: See TracBrowser for help on using the repository browser.