source: LMDZ.3.3/trunk/libf/grid/fxyprim.h @ 531

Last change on this file since 531 was 2, checked in by lmdz, 25 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1c-----------------------------------------------------------------------
2c INCLUDE 'fxyprim.h'
3c
4c    ................................................................
5c    ................  Fonctions in line  ...........................
6c    ................................................................
7c
8      REAL  fy, fx, fxprim, fyprim
9      REAL  ri, rj
10c
11c
12      fy    ( rj ) =    pi/FLOAT(jjm) * ( 0.5 * FLOAT(jjm) +  1. - rj  )
13      fyprim( rj ) =    pi/FLOAT(jjm)
14
15c     fy(rj)=ASIN(1.+2.*((1.-rj)/FLOAT(jjm)))
16c     fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj))
17
18      fx    ( ri ) = 2.*pi/FLOAT(iim) * ( ri - 0.5*  FLOAT(iim) - 1. )
19c     fx    ( ri ) = 2.*pi/FLOAT(iim) * ( ri - 0.5* ( FLOAT(iim) + 1.) )
20      fxprim( ri ) = 2.*pi/FLOAT(iim)
21c
22c
23c    La valeur de pi est passee par le common/const/ou /const2/ .
24c    Sinon, il faut la calculer avant d'appeler ces fonctions .
25c
26c   ----------------------------------------------------------------
27c     Fonctions a changer eventuellement, selon x(x) et y(y) choisis .
28c   -----------------------------------------------------------------
29c
30c    .....  ici, on a l'application particuliere suivante   ........
31c
32c                **************************************
33c                **     x = 2. * pi/iim *  X         **
34c                **     y =      pi/jjm *  Y         **
35c                **************************************
36c
37c   ..................................................................
38c   ..................................................................
39c
40c
41c
42c-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.