Changeset 1403 for LMDZ4/trunk/libf/grid
- Timestamp:
- Jul 1, 2010, 11:02:53 AM (14 years ago)
- Location:
- LMDZ4/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk
- Property svn:mergeinfo changed
-
LMDZ4/trunk/libf/grid/fxy_new.h
r524 r1403 8 8 c....stretching in x... 9 9 c 10 ripx( ri )= (ri-1.0) *2.*pi/ FLOAT(iim)10 ripx( ri )= (ri-1.0) *2.*pi/REAL(iim) 11 11 fx ( ri )= ripx(ri) + transx + 12 12 * alphax * SIN( ripx(ri)+transx-pxo ) - pi 13 fxprim(ri) = 2.*pi/ FLOAT(iim) *13 fxprim(ri) = 2.*pi/REAL(iim) * 14 14 * ( 1.+ alphax * COS( ripx(ri)+transx-pxo ) ) 15 15 16 16 c....stretching in y... 17 17 c 18 bigy(rj) = 2.* ( FLOAT(jjp1)-rj ) *pi/jjm18 bigy(rj) = 2.* (REAL(jjp1)-rj ) *pi/jjm 19 19 fy(rj) = ( bigy(rj) + transy + 20 20 * alphay * SIN( bigy(rj)+transy-pyo ) ) /2. - pi/2. -
LMDZ4/trunk/libf/grid/fxy_reg.h
r524 r1403 13 13 c 14 14 c 15 fy ( rj ) = pi/ FLOAT(jjm) * ( 0.5 * FLOAT(jjm) + 1. - rj )16 fyprim( rj ) = pi/ FLOAT(jjm)15 fy ( rj ) = pi/REAL(jjm) * ( 0.5 * REAL(jjm) + 1. - rj ) 16 fyprim( rj ) = pi/REAL(jjm) 17 17 18 c fy(rj)=ASIN(1.+2.*((1.-rj)/ FLOAT(jjm)))18 c fy(rj)=ASIN(1.+2.*((1.-rj)/REAL(jjm))) 19 19 c fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj)) 20 20 21 fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* FLOAT(iim) - 1. )22 c fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* ( FLOAT(iim) + 1.) )23 fxprim( ri ) = 2.*pi/ FLOAT(iim)21 fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* REAL(iim) - 1. ) 22 c fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) ) 23 fxprim( ri ) = 2.*pi/REAL(iim) 24 24 c 25 25 c -
LMDZ4/trunk/libf/grid/fxy_sin.h
r524 r1403 13 13 c 14 14 c 15 fy(rj)=ASIN(1.+2.*((1.-rj)/ FLOAT(jjm)))15 fy(rj)=ASIN(1.+2.*((1.-rj)/REAL(jjm))) 16 16 fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj)) 17 17 18 fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* FLOAT(iim) - 1. )19 c fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* ( FLOAT(iim) + 1.) )20 fxprim( ri ) = 2.*pi/ FLOAT(iim)18 fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* REAL(iim) - 1. ) 19 c fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) ) 20 fxprim( ri ) = 2.*pi/REAL(iim) 21 21 c 22 22 c -
LMDZ4/trunk/libf/grid/fxyprim.h
r524 r1403 13 13 c 14 14 c 15 fy ( rj ) = pi/ FLOAT(jjm) * ( 0.5 * FLOAT(jjm) + 1. - rj )16 fyprim( rj ) = pi/ FLOAT(jjm)15 fy ( rj ) = pi/REAL(jjm) * ( 0.5 * REAL(jjm) + 1. - rj ) 16 fyprim( rj ) = pi/REAL(jjm) 17 17 18 c fy(rj)=ASIN(1.+2.*((1.-rj)/ FLOAT(jjm)))18 c fy(rj)=ASIN(1.+2.*((1.-rj)/REAL(jjm))) 19 19 c fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj)) 20 20 21 fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* FLOAT(iim) - 1. )22 c fx ( ri ) = 2.*pi/ FLOAT(iim) * ( ri - 0.5* ( FLOAT(iim) + 1.) )23 fxprim( ri ) = 2.*pi/ FLOAT(iim)21 fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* REAL(iim) - 1. ) 22 c fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) ) 23 fxprim( ri ) = 2.*pi/REAL(iim) 24 24 c 25 25 c
Note: See TracChangeset
for help on using the changeset viewer.