|
Last change
on this file since 5263 was
5246,
checked in by abarral, 15 months ago
|
|
Convert fixed-form to free-form sources .F -> .{f,F}90
(WIP: some .F remain, will be handled in subsequent commits)
|
-
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:
839 bytes
|
| Line | |
|---|
| 1 | ! |
|---|
| 2 | ! $Header$ |
|---|
| 3 | ! |
|---|
| 4 | !-------------------------------------------------------------- |
|---|
| 5 | REAL :: ripx |
|---|
| 6 | REAL :: fx,fxprim,fy,fyprim,ri,rj,bigy |
|---|
| 7 | ! |
|---|
| 8 | !....stretching in x... |
|---|
| 9 | ! |
|---|
| 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 | |
|---|
| 16 | !....stretching in y... |
|---|
| 17 | ! |
|---|
| 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 | |
|---|
| 24 | ! fy(rj)= pyo-pisjjm*(rj-transy)+coefalpha*SIN(depisjm*(rj- |
|---|
| 25 | ! * transy )) |
|---|
| 26 | ! fyprim(rj)= pisjjm-pisjjm*coefy2* COS(depisjm*(rj-transy)) |
|---|
| 27 | !-------------------------------------------------------------- |
|---|
Note: See
TracBrowser
for help on using the repository browser.