source: LMDZ6/branches/Amaury_dev/libf/grid/fxy_sin.h @ 5099

Last change on this file since 5099 was 5099, checked in by abarral, 4 months ago

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 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)=ASIN(1.+2.*((1.-rj)/REAL(jjm)))
16      fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj))
17
18      fx    ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5*  REAL(iim) - 1. )
19c     fx    ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) )
20      fxprim( ri ) = 2.*pi/REAL(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.