Changeset 1328 for trunk/LMDZ.GENERIC
- Timestamp:
- Aug 21, 2014, 5:32:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r1315 r1328 220 220 pgasmax = 10.0**pgasref(L_NPREF) 221 221 222 ! interpolate to finer grid 222 ! interpolate to finer grid, adapted to uneven grids 223 223 do n=1,L_NPREF-1 224 224 do m=1,5 225 pfgasref((n-1)*5+m) = pgasref(n)+(m-1)* 0.2225 pfgasref((n-1)*5+m) = pgasref(n)+(m-1)*(pgasref(n+1) - pgasref(n))/5. 226 226 end do 227 227 end do 228 228 pfgasref(L_PINT) = pgasref(L_NPREF) 229 ! Warning, pfgasref needs generalisation to uneven grids!230 229 231 230 !-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.