Changeset 5246 for LMDZ6/trunk/libf/grid/fxyprim.h
- Timestamp:
- Oct 21, 2024, 2:58:45 PM (23 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/grid/fxyprim.h
r1907 r5246 2 2 ! $Header$ 3 3 ! 4 c-----------------------------------------------------------------------5 cINCLUDE 'fxyprim.h'6 c 7 c................................................................8 c................ Fonctions in line ...........................9 c................................................................10 c 11 REALfy, fx, fxprim, fyprim12 REALri, rj13 c 14 c 15 16 4 !----------------------------------------------------------------------- 5 ! INCLUDE 'fxyprim.h' 6 ! 7 ! ................................................................ 8 ! ................ Fonctions in line ........................... 9 ! ................................................................ 10 ! 11 REAL :: fy, fx, fxprim, fyprim 12 REAL :: ri, rj 13 ! 14 ! 15 fy ( rj ) = pi/REAL(jjm) * ( 0.5 * REAL(jjm) + 1. - rj ) 16 fyprim( rj ) = pi/REAL(jjm) 17 17 18 cfy(rj)=ASIN(1.+2.*((1.-rj)/REAL(jjm)))19 cfyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj))18 ! fy(rj)=ASIN(1.+2.*((1.-rj)/REAL(jjm))) 19 ! fyprim(rj)=1./SQRT((rj-1.)*(jjm+1.-rj)) 20 20 21 22 cfx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) )23 24 c 25 c 26 cLa valeur de pi est passee par le common/const/ou /const2/ .27 cSinon, il faut la calculer avant d'appeler ces fonctions .28 c 29 c----------------------------------------------------------------30 cFonctions a changer eventuellement, selon x(x) et y(y) choisis .31 c-----------------------------------------------------------------32 c 33 c..... ici, on a l'application particuliere suivante ........34 c 35 c**************************************36 c** x = 2. * pi/iim * X **37 c** y = pi/jjm * Y **38 c**************************************39 c 40 c..................................................................41 c..................................................................42 c 43 c 44 c 45 c-----------------------------------------------------------------------21 fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* REAL(iim) - 1. ) 22 ! fx ( ri ) = 2.*pi/REAL(iim) * ( ri - 0.5* ( REAL(iim) + 1.) ) 23 fxprim( ri ) = 2.*pi/REAL(iim) 24 ! 25 ! 26 ! La valeur de pi est passee par le common/const/ou /const2/ . 27 ! Sinon, il faut la calculer avant d'appeler ces fonctions . 28 ! 29 ! ---------------------------------------------------------------- 30 ! Fonctions a changer eventuellement, selon x(x) et y(y) choisis . 31 ! ----------------------------------------------------------------- 32 ! 33 ! ..... ici, on a l'application particuliere suivante ........ 34 ! 35 ! ************************************** 36 ! ** x = 2. * pi/iim * X ** 37 ! ** y = pi/jjm * Y ** 38 ! ************************************** 39 ! 40 ! .................................................................. 41 ! .................................................................. 42 ! 43 ! 44 ! 45 !-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.