source: LMDZ4/branches/V3_test/libf/grid/fxyprim.h @ 717

Last change on this file since 717 was 717, checked in by Laurent Fairhead, 18 years ago

Modifs pour compilation sur Brodie
LF

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