source: LMDZ4/branches/LMDZ4V5.0-dev/libf/grid/fxy_new.h @ 1299

Last change on this file since 1299 was 1299, checked in by Laurent Fairhead, 14 years ago

Nettoyage general pour se rapprocher des normes et éviter des erreurs a la
compilation:

  • tous les FLOAT() sont remplacés par des REAL()
  • tous les STOP dans phylmd sont remplacés par des appels à abort_gcm
  • le common control défini dans le fichier control.h est remplacé par le module control_mod pour éviter des messages sur l'alignement des variables dans les déclarations
  • des $Header$ remplacés par des $Id$ pour svn

Quelques remplacements à faire ont pu m'échapper


General cleanup of the code to try and adhere to norms and to prevent some
compilation errors:

  • all FLOAT() instructions have been replaced by REAL() instructions
  • all STOP instructions in phylmd have been replaced by calls to abort_gcm
  • the common block control defined in the control.h file has been replaced by the control_mod to prevent compilation warnings on the alignement of declared variables
  • $Header$ replaced by $Id$ for svn

Some changes which should have been made might have escaped me

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 915 bytes
Line 
1!
2! $Header$
3!
4c--------------------------------------------------------------
5         REAL ripx
6         REAL fx,fxprim,fy,fyprim,ri,rj,bigy
7c
8c....stretching in x...
9c
10        ripx(  ri )= (ri-1.0) *2.*pi/REAL(iim) 
11        fx  (  ri )= ripx(ri) + transx  +
12     *         alphax * SIN( ripx(ri)+transx-pxo ) - pi
13        fxprim(ri) = 2.*pi/REAL(iim)  *
14     *        ( 1.+ alphax * COS( ripx(ri)+transx-pxo ) )
15
16c....stretching in y...
17c
18        bigy(rj)   = 2.* (REAL(jjp1)-rj ) *pi/jjm
19        fy(rj)     =  ( bigy(rj) + transy  +
20     *        alphay * SIN( bigy(rj)+transy-pyo ) ) /2.  - pi/2.
21        fyprim(rj) = ( pi/jjm ) * ( 1.+
22     *           alphay * COS( bigy(rj)+transy-pyo ) )
23
24c       fy(rj)= pyo-pisjjm*(rj-transy)+coefalpha*SIN(depisjm*(rj-
25c     *  transy ))
26c       fyprim(rj)= pisjjm-pisjjm*coefy2* COS(depisjm*(rj-transy)) 
27c--------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.