source: LMDZ5/branches/testing/libf/phylmd/read_pstoke0.F90 @ 2056

Last change on this file since 2056 was 1999, checked in by Laurent Fairhead, 11 years ago

Merged trunk changes r1920:1997 into testing branch

  • 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: 14.7 KB
RevLine 
[1992]1
[1403]2! $Id: read_pstoke0.F90 1999 2014-03-20 09:57:19Z fairhead $
[524]3
4
[1403]5
[1992]6SUBROUTINE read_pstoke0(irec, zrec, zkon, zkev, airefi, phisfi, t, mfu, mfd, &
7    en_u, de_u, en_d, de_d, coefh, fm_therm, en_therm, frac_impa, frac_nucl, &
8    pyu1, pyv1, ftsol, psrf)
[524]9
[1992]10  ! ******************************************************************************
11  ! Frederic HOURDIN, Abderrahmane IDELKADI
12  ! Lecture des parametres physique stockes online necessaires pour
13  ! recalculer offline le transport des traceurs sur la meme grille que
14  ! online
15  ! A FAIRE : une seule routine au lieu de 2 (lectflux, redecoupe)!
16  ! ******************************************************************************
[524]17
[1992]18  USE netcdf
19  USE dimphy
20  USE control_mod
21  USE indice_sol_mod
[524]22
[1992]23  IMPLICIT NONE
[524]24
[1992]25  include "netcdf.inc"
26  include "dimensions.h"
27  include "paramet.h"
28  include "comconst.h"
29  include "comgeom.h"
30  include "temps.h"
31  include "ener.h"
32  include "logic.h"
33  include "description.h"
34  include "serre.h"
35  ! ccc#include "dimphy.h"
[541]36
[1992]37  INTEGER kon, kev, zkon, zkev
38  PARAMETER (kon=iim*(jjm-1)+2, kev=llm)
39  REAL phisfi(kon)
40  REAL phisfi2(iim, jjm+1), airefi2(iim, jjm+1)
[524]41
[1992]42  REAL mfu(kon, kev), mfd(kon, kev)
43  REAL en_u(kon, kev), de_u(kon, kev)
44  REAL en_d(kon, kev), de_d(kon, kev)
45  REAL coefh(kon, kev)
[524]46
[1992]47  ! abd 25 11 02
48  ! Thermiques
49  REAL fm_therm(kon, kev), en_therm(kon, kev)
50  REAL t(kon, kev)
[524]51
[1992]52  REAL mfu2(iim, jjm+1, kev), mfd2(iim, jjm+1, kev)
53  REAL en_u2(iim, jjm+1, kev), de_u2(iim, jjm+1, kev)
54  REAL en_d2(iim, jjm+1, kev), de_d2(iim, jjm+1, kev)
55  REAL coefh2(iim, jjm+1, kev)
56  REAL t2(iim, jjm+1, kev)
57  ! Thermiques
58  REAL fm_therm2(iim, jjm+1, kev)
59  REAL en_therm2(iim, jjm+1, kev)
[524]60
[1992]61  REAL pl(kev)
62  INTEGER irec
63  INTEGER xid, yid, zid, tid
64  INTEGER zrec, zim, zjm
65  INTEGER ncrec, nckon, nckev, ncim, ncjm
[524]66
[1992]67  REAL airefi(kon)
68  CHARACTER *20 namedim
[524]69
[1992]70  ! !! attention !!
71  ! attention il y a aussi le pb de def kon
72  ! dim de phis??
[524]73
[1992]74  REAL frac_impa(kon, kev), frac_nucl(kon, kev)
75  REAL frac_impa2(iim, jjm+1, kev), frac_nucl2(iim, jjm+1, kev)
76  REAL pyu1(kon), pyv1(kon)
77  REAL pyu12(iim, jjm+1), pyv12(iim, jjm+1)
78  REAL ftsol(kon, nbsrf)
79  REAL psrf(kon, nbsrf)
80  REAL ftsol1(kon), ftsol2(kon), ftsol3(kon), ftsol4(kon)
81  REAL psrf1(kon), psrf2(kon), psrf3(kon), psrf4(kon)
82  REAL ftsol12(iim, jjm+1), ftsol22(iim, jjm+1), ftsol32(iim, jjm+1), &
83    ftsol42(iim, jjm+1)
84  REAL psrf12(iim, jjm+1), psrf22(iim, jjm+1), psrf32(iim, jjm+1), &
85    psrf42(iim, jjm+1)
[524]86
[1992]87  INTEGER ncidp
88  SAVE ncidp
89  INTEGER varidmfu, varidmfd, varidps, varidenu, variddeu
90  INTEGER varidt
91  INTEGER varidend, varidded, varidch, varidfi, varidfn
92  ! therm
93  INTEGER varidfmth, varidenth
94  INTEGER varidyu1, varidyv1, varidpl, varidai, varididvt
95  INTEGER varidfts1, varidfts2, varidfts3, varidfts4
96  INTEGER varidpsr1, varidpsr2, varidpsr3, varidpsr4
97  SAVE varidmfu, varidmfd, varidps, varidenu, variddeu
98  SAVE varidt
99  SAVE varidend, varidded, varidch, varidfi, varidfn
100  ! therm
101  SAVE varidfmth, varidenth
102  SAVE varidyu1, varidyv1, varidpl, varidai, varididvt
103  SAVE varidfts1, varidfts2, varidfts3, varidfts4
104  SAVE varidpsr1, varidpsr2, varidpsr3, varidpsr4
[524]105
[1992]106  INTEGER l, i
107  INTEGER start(4), count(4), status
108  REAL rcode
109  LOGICAL first
110  SAVE first
111  DATA first/.TRUE./
[524]112
113
114
[1992]115  ! ---------------------------------------------
116  ! Initialisation de la lecture des fichiers
117  ! ---------------------------------------------
[524]118
[1992]119  IF (irec==0) THEN
[541]120
[1992]121    rcode = nf90_open('phystoke.nc', nf90_nowrite, ncidp)
[524]122
[1992]123    rcode = nf90_inq_varid(ncidp, 'phis', varidps)
124    PRINT *, 'ncidp,varidps', ncidp, varidps
[524]125
[1992]126    rcode = nf90_inq_varid(ncidp, 'sig_s', varidpl)
127    PRINT *, 'ncidp,varidpl', ncidp, varidpl
[524]128
[1992]129    rcode = nf90_inq_varid(ncidp, 'aire', varidai)
130    PRINT *, 'ncidp,varidai', ncidp, varidai
[524]131
[1992]132    rcode = nf90_inq_varid(ncidp, 't', varidt)
133    PRINT *, 'ncidp,varidt', ncidp, varidt
[541]134
[1992]135    rcode = nf90_inq_varid(ncidp, 'mfu', varidmfu)
136    PRINT *, 'ncidp,varidmfu', ncidp, varidmfu
[541]137
[1992]138    rcode = nf90_inq_varid(ncidp, 'mfd', varidmfd)
139    PRINT *, 'ncidp,varidmfd', ncidp, varidmfd
[524]140
[1992]141    rcode = nf90_inq_varid(ncidp, 'en_u', varidenu)
142    PRINT *, 'ncidp,varidenu', ncidp, varidenu
[524]143
[1992]144    rcode = nf90_inq_varid(ncidp, 'de_u', variddeu)
145    PRINT *, 'ncidp,variddeu', ncidp, variddeu
[524]146
[1992]147    rcode = nf90_inq_varid(ncidp, 'en_d', varidend)
148    PRINT *, 'ncidp,varidend', ncidp, varidend
[524]149
[1992]150    rcode = nf90_inq_varid(ncidp, 'de_d', varidded)
151    PRINT *, 'ncidp,varidded', ncidp, varidded
[524]152
[1992]153    rcode = nf90_inq_varid(ncidp, 'coefh', varidch)
154    PRINT *, 'ncidp,varidch', ncidp, varidch
[524]155
[1992]156    ! Thermiques
157    rcode = nf90_inq_varid(ncidp, 'fm_th', varidfmth)
158    PRINT *, 'ncidp,varidfmth', ncidp, varidfmth
[524]159
[1992]160    rcode = nf90_inq_varid(ncidp, 'en_th', varidenth)
161    PRINT *, 'ncidp,varidenth', ncidp, varidenth
[524]162
[1992]163    rcode = nf90_inq_varid(ncidp, 'frac_impa', varidfi)
164    PRINT *, 'ncidp,varidfi', ncidp, varidfi
[524]165
[1992]166    rcode = nf90_inq_varid(ncidp, 'frac_nucl', varidfn)
167    PRINT *, 'ncidp,varidfn', ncidp, varidfn
168
169    rcode = nf90_inq_varid(ncidp, 'pyu1', varidyu1)
170    PRINT *, 'ncidp,varidyu1', ncidp, varidyu1
171
172    rcode = nf90_inq_varid(ncidp, 'pyv1', varidyv1)
173    PRINT *, 'ncidp,varidyv1', ncidp, varidyv1
174
175    rcode = nf90_inq_varid(ncidp, 'ftsol1', varidfts1)
176    PRINT *, 'ncidp,varidfts1', ncidp, varidfts1
177
178    rcode = nf90_inq_varid(ncidp, 'ftsol2', varidfts2)
179    PRINT *, 'ncidp,varidfts2', ncidp, varidfts2
180
181    rcode = nf90_inq_varid(ncidp, 'ftsol3', varidfts3)
182    PRINT *, 'ncidp,varidfts3', ncidp, varidfts3
183
184    rcode = nf90_inq_varid(ncidp, 'ftsol4', varidfts4)
185    PRINT *, 'ncidp,varidfts4', ncidp, varidfts4
186
187    rcode = nf90_inq_varid(ncidp, 'psrf1', varidpsr1)
188    PRINT *, 'ncidp,varidpsr1', ncidp, varidpsr1
189
190    rcode = nf90_inq_varid(ncidp, 'psrf2', varidpsr2)
191    PRINT *, 'ncidp,varidpsr2', ncidp, varidpsr2
192
193    rcode = nf90_inq_varid(ncidp, 'psrf3', varidpsr3)
194    PRINT *, 'ncidp,varidpsr3', ncidp, varidpsr3
195
196    rcode = nf90_inq_varid(ncidp, 'psrf4', varidpsr4)
197    PRINT *, 'ncidp,varidpsr4', ncidp, varidpsr4
198
199    ! ID pour les dimensions
200
201    status = nf_inq_dimid(ncidp, 'y', yid)
202    status = nf_inq_dimid(ncidp, 'x', xid)
203    status = nf_inq_dimid(ncidp, 'sig_s', zid)
204    status = nf_inq_dimid(ncidp, 'time_counter', tid)
205
206    ! lecture des dimensions
207
208    status = nf_inq_dim(ncidp, yid, namedim, ncjm)
209    status = nf_inq_dim(ncidp, xid, namedim, ncim)
210    status = nf_inq_dim(ncidp, zid, namedim, nckev)
211    status = nf_inq_dim(ncidp, tid, namedim, ncrec)
212
213    zrec = ncrec
214    zkev = nckev
215    zim = ncim
216    zjm = ncjm
217
218    zkon = zim*(zjm-2) + 2
219
220    WRITE (*, *) 'read_pstoke : zrec = ', zrec
221    WRITE (*, *) 'read_pstoke : kev = ', zkev
222    WRITE (*, *) 'read_pstoke : zim = ', zim
223    WRITE (*, *) 'read_pstoke : zjm = ', zjm
224    WRITE (*, *) 'read_pstoke : kon = ', zkon
225
226    ! niveaux de pression
227
228    status = nf_get_vara_real(ncidp, varidpl, 1, kev, pl)
229
230    ! lecture de aire et phis
231
232    start(1) = 1
233    start(2) = 1
234    start(3) = 1
235    start(4) = 0
236
237    count(1) = zim
238    count(2) = zjm
239    count(3) = 1
240    count(4) = 0
241
242
243    ! **** Geopotentiel au sol ***************************************
244    ! phis
[541]245#ifdef NC_DOUBLE
[1992]246    status = nf_get_vara_double(ncidp, varidps, start, count, phisfi2)
[541]247#else
[1992]248    status = nf_get_vara_real(ncidp, varidps, start, count, phisfi2)
[541]249#endif
[1992]250    CALL gr_ecrit_fi(1, kon, iim, jjm+1, phisfi2, phisfi)
[524]251
[1992]252    ! **** Aires des mails aux sol ************************************
253    ! aire
[541]254#ifdef NC_DOUBLE
[1992]255    status = nf_get_vara_double(ncidp, varidai, start, count, airefi2)
[541]256#else
[1992]257    status = nf_get_vara_real(ncidp, varidai, start, count, airefi2)
[541]258#endif
[1992]259    CALL gr_ecrit_fi(1, kon, iim, jjm+1, airefi2, airefi)
260  ELSE
[524]261
[1992]262    PRINT *, 'ok1'
[524]263
[1992]264    ! ---------------------
265    ! lecture des champs
266    ! ---------------------
[524]267
[1992]268    PRINT *, 'WARNING!!! Il n y a pas de test de coherence'
269    PRINT *, 'sur le nombre de niveaux verticaux dans le fichier nc'
[524]270
[1992]271    start(1) = 1
272    start(2) = 1
273    start(3) = 1
274    start(4) = irec
[524]275
[1992]276    count(1) = zim
277    count(2) = zjm
278    count(3) = kev
279    count(4) = 1
[524]280
[1992]281    ! **** Temperature ********************************************
282    ! A FAIRE : Es-ce necessaire ?
283
284    ! abder t
[541]285#ifdef NC_DOUBLE
[1992]286    status = nf_get_vara_double(ncidp, varidt, start, count, t2)
[541]287#else
[1992]288    status = nf_get_vara_real(ncidp, varidt, start, count, t2)
[541]289#endif
[1992]290    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, t2, t)
[524]291
[1992]292    ! **** Flux pour la convection (Tiedtk)
293    ! ********************************************
294    ! mfu
[541]295#ifdef NC_DOUBLE
[1992]296    status = nf_get_vara_double(ncidp, varidmfu, start, count, mfu2)
[541]297#else
[1992]298    status = nf_get_vara_real(ncidp, varidmfu, start, count, mfu2)
[541]299#endif
[1992]300    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, mfu2, mfu)
[524]301
[1992]302    ! mfd
[541]303#ifdef NC_DOUBLE
[1992]304    status = nf_get_vara_double(ncidp, varidmfd, start, count, mfd2)
[541]305#else
[1992]306    status = nf_get_vara_real(ncidp, varidmfd, start, count, mfd2)
[541]307#endif
[1992]308    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, mfd2, mfd)
[524]309
[1992]310    ! en_u
[541]311#ifdef NC_DOUBLE
[1992]312    status = nf_get_vara_double(ncidp, varidenu, start, count, en_u2)
[541]313#else
[1992]314    status = nf_get_vara_real(ncidp, varidenu, start, count, en_u2)
[541]315#endif
[1992]316    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, en_u2, en_u)
[524]317
[1992]318    ! de_u
[541]319#ifdef NC_DOUBLE
[1992]320    status = nf_get_vara_double(ncidp, variddeu, start, count, de_u2)
[541]321#else
[1992]322    status = nf_get_vara_real(ncidp, variddeu, start, count, de_u2)
[541]323#endif
[1992]324    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, de_u2, de_u)
[524]325
[1992]326    ! en_d
[541]327#ifdef NC_DOUBLE
[1992]328    status = nf_get_vara_double(ncidp, varidend, start, count, en_d2)
[541]329#else
[1992]330    status = nf_get_vara_real(ncidp, varidend, start, count, en_d2)
[541]331#endif
[1992]332    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, en_d2, en_d)
[524]333
[1992]334    ! de_d
[541]335#ifdef NC_DOUBLE
[1992]336    status = nf_get_vara_double(ncidp, varidded, start, count, de_d2)
[541]337#else
[1992]338    status = nf_get_vara_real(ncidp, varidded, start, count, de_d2)
[541]339#endif
[1992]340    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, de_d2, de_d)
[524]341
[1992]342    ! **** Coefficient de mellange turbulent
343    ! *******************************************
344    ! coefh
345    PRINT *, 'LECTURE de coefh a irec =', irec
[541]346#ifdef NC_DOUBLE
[1992]347    status = nf_get_vara_double(ncidp, varidch, start, count, coefh2)
[541]348#else
[1992]349    status = nf_get_vara_real(ncidp, varidch, start, count, coefh2)
[541]350#endif
[1992]351    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, coefh2, coefh)
352    ! call dump2d(iip1,jjp1,coefh2(1,2),'COEFH2READ   ')
353    ! call dump2d(iim ,jjm ,coefh (2,2),'COEFH2READ   ')
[524]354
[1992]355    ! **** Flux ascendants et entrant dans le thermique
356    ! **********************************
357    ! Thermiques
358    PRINT *, 'LECTURE de fm_therm a irec =', irec
[541]359#ifdef NC_DOUBLE
[1992]360    status = nf_get_vara_double(ncidp, varidfmth, start, count, fm_therm2)
[541]361#else
[1992]362    status = nf_get_vara_real(ncidp, varidfmth, start, count, fm_therm2)
[541]363#endif
[1992]364    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, fm_therm2, fm_therm)
365    PRINT *, 'LECTURE de en_therm a irec =', irec
[541]366#ifdef NC_DOUBLE
[1992]367    status = nf_get_vara_double(ncidp, varidenth, start, count, en_therm2)
[541]368#else
[1992]369    status = nf_get_vara_real(ncidp, varidenth, start, count, en_therm2)
[541]370#endif
[1992]371    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, en_therm2, en_therm)
[541]372
[1992]373    ! **** Coefficients de lessivage
374    ! *******************************************
375    ! frac_impa
[541]376#ifdef NC_DOUBLE
[1992]377    status = nf_get_vara_double(ncidp, varidfi, start, count, frac_impa2)
[541]378#else
[1992]379    status = nf_get_vara_real(ncidp, varidfi, start, count, frac_impa2)
[541]380#endif
[1992]381    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, frac_impa2, frac_impa)
[541]382
[1992]383    ! frac_nucl
[541]384
385#ifdef NC_DOUBLE
[1992]386    status = nf_get_vara_double(ncidp, varidfn, start, count, frac_nucl2)
[541]387#else
[1992]388    status = nf_get_vara_real(ncidp, varidfn, start, count, frac_nucl2)
[541]389#endif
[1992]390    CALL gr_ecrit_fi(kev, kon, iim, jjm+1, frac_nucl2, frac_nucl)
[541]391
[1992]392    ! **** Vents aux sol ********************************************
[541]393
[1992]394    start(3) = irec
395    start(4) = 0
396    count(3) = 1
397    count(4) = 0
[524]398
[1992]399    ! pyu1
400    PRINT *, 'LECTURE de yu1 a irec =', irec
[541]401#ifdef NC_DOUBLE
[1992]402    status = nf_get_vara_double(ncidp, varidyu1, start, count, pyu12)
[541]403#else
[1992]404    status = nf_get_vara_real(ncidp, varidyu1, start, count, pyu12)
[541]405#endif
[1992]406    CALL gr_ecrit_fi(1, kon, iim, jjm+1, pyu12, pyu1)
[524]407
[1992]408    ! pyv1
409    PRINT *, 'LECTURE de yv1 a irec =', irec
[541]410#ifdef NC_DOUBLE
[1992]411    status = nf_get_vara_double(ncidp, varidyv1, start, count, pyv12)
[541]412#else
[1992]413    status = nf_get_vara_real(ncidp, varidyv1, start, count, pyv12)
[541]414#endif
[1992]415    CALL gr_ecrit_fi(1, kon, iim, jjm+1, pyv12, pyv1)
[524]416
[1992]417    ! **** Temerature au sol ********************************************
418    ! ftsol1
419    PRINT *, 'LECTURE de ftsol1 a irec =', irec
[541]420#ifdef NC_DOUBLE
[1992]421    status = nf_get_vara_double(ncidp, varidfts1, start, count, ftsol12)
[541]422#else
[1992]423    status = nf_get_vara_real(ncidp, varidfts1, start, count, ftsol12)
[541]424#endif
[1992]425    CALL gr_ecrit_fi(1, kon, iim, jjm+1, ftsol12, ftsol1)
[524]426
[1992]427    ! ftsol2
428    PRINT *, 'LECTURE de ftsol2 a irec =', irec
[541]429#ifdef NC_DOUBLE
[1992]430    status = nf_get_vara_double(ncidp, varidfts2, start, count, ftsol22)
[541]431#else
[1992]432    status = nf_get_vara_real(ncidp, varidfts2, start, count, ftsol22)
[541]433#endif
[1992]434    CALL gr_ecrit_fi(1, kon, iim, jjm+1, ftsol22, ftsol2)
[524]435
[1992]436    ! ftsol3
437    PRINT *, 'LECTURE de ftsol3 a irec =', irec
[541]438#ifdef NC_DOUBLE
[1992]439    status = nf_get_vara_double(ncidp, varidfts3, start, count, ftsol32)
[541]440#else
[1992]441    status = nf_get_vara_real(ncidp, varidfts3, start, count, ftsol32)
[541]442#endif
[1992]443    CALL gr_ecrit_fi(1, kon, iim, jjm+1, ftsol32, ftsol3)
[524]444
[1992]445    ! ftsol4
[541]446#ifdef NC_DOUBLE
[1992]447    status = nf_get_vara_double(ncidp, varidfts4, start, count, ftsol42)
[541]448#else
[1992]449    status = nf_get_vara_real(ncidp, varidfts4, start, count, ftsol42)
[541]450#endif
[1992]451    CALL gr_ecrit_fi(1, kon, iim, jjm+1, ftsol42, ftsol4)
[524]452
[1992]453    ! **** Nature sol ********************************************
454    ! psrf1
[541]455#ifdef NC_DOUBLE
[1992]456    status = nf_get_vara_double(ncidp, varidpsr1, start, count, psrf12)
[541]457#else
[1992]458    status = nf_get_vara_real(ncidp, varidpsr1, start, count, psrf12)
[541]459#endif
[1992]460    ! call dump2d(iip1-1,jjm+1,psrf12,'PSRF1NC')
461    CALL gr_ecrit_fi(1, kon, iim, jjm+1, psrf12, psrf1)
[524]462
[1992]463    ! psrf2
[541]464#ifdef NC_DOUBLE
[1992]465    status = nf_get_vara_double(ncidp, varidpsr2, start, count, psrf22)
[541]466#else
[1992]467    status = nf_get_vara_real(ncidp, varidpsr2, start, count, psrf22)
[541]468#endif
[1992]469    ! call dump2d(iip1-1,jjm+1,psrf22,'PSRF2NC')
470    CALL gr_ecrit_fi(1, kon, iim, jjm+1, psrf22, psrf2)
[524]471
[1992]472    ! psrf3
[541]473#ifdef NC_DOUBLE
[1992]474    status = nf_get_vara_double(ncidp, varidpsr3, start, count, psrf32)
[541]475#else
[1992]476    status = nf_get_vara_real(ncidp, varidpsr3, start, count, psrf32)
[541]477#endif
[1992]478    CALL gr_ecrit_fi(1, kon, iim, jjm+1, psrf32, psrf3)
[524]479
[1992]480    ! psrf4
[541]481#ifdef NC_DOUBLE
[1992]482    status = nf_get_vara_double(ncidp, varidpsr4, start, count, psrf42)
[541]483#else
[1992]484    status = nf_get_vara_real(ncidp, varidpsr4, start, count, psrf42)
[541]485#endif
[1992]486    CALL gr_ecrit_fi(1, kon, iim, jjm+1, psrf42, psrf4)
[524]487
[1992]488    DO i = 1, kon
489
490      psrf(i, 1) = psrf1(i)
491      psrf(i, 2) = psrf2(i)
492      psrf(i, 3) = psrf3(i)
493      ! test abderr
494      ! print*,'Dans read_pstoke psrf3 =',psrf3(i),i
495      psrf(i, 4) = psrf4(i)
496
497      ftsol(i, 1) = ftsol1(i)
498      ftsol(i, 2) = ftsol2(i)
499      ftsol(i, 3) = ftsol3(i)
500      ftsol(i, 4) = ftsol4(i)
501
502    END DO
503
504  END IF
505
506  RETURN
507
508END SUBROUTINE read_pstoke0
509
Note: See TracBrowser for help on using the repository browser.