10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change
on this file since 3481cc1 was
3481cc1,
checked in by Ignacio Pisso <ip@…>, 4 years ago
|
move license from headers to a different file
|
-
Property mode set to
100644
|
File size:
2.2 KB
|
Line | |
---|
1 | subroutine interpol_vdep_nests(level,vdepo) |
---|
2 | ! i o |
---|
3 | !**************************************************************************** |
---|
4 | ! * |
---|
5 | ! Interpolation of the deposition velocity on 2-d model layer. * |
---|
6 | ! In horizontal direction bilinear interpolation interpolation is used. * |
---|
7 | ! Temporally a linear interpolation is used. * |
---|
8 | ! * |
---|
9 | ! 1 first time * |
---|
10 | ! 2 second time * |
---|
11 | ! * |
---|
12 | ! * |
---|
13 | ! Author: A. Stohl * |
---|
14 | ! * |
---|
15 | ! 30 May 1994 * |
---|
16 | ! * |
---|
17 | !**************************************************************************** |
---|
18 | ! * |
---|
19 | ! Variables: * |
---|
20 | ! * |
---|
21 | ! level number of species for which interpolation is done * |
---|
22 | ! * |
---|
23 | !**************************************************************************** |
---|
24 | |
---|
25 | use par_mod |
---|
26 | use com_mod |
---|
27 | use interpol_mod |
---|
28 | |
---|
29 | implicit none |
---|
30 | |
---|
31 | integer :: level,indexh,m |
---|
32 | real :: y(2),vdepo |
---|
33 | |
---|
34 | ! a) Bilinear horizontal interpolation |
---|
35 | |
---|
36 | do m=1,2 |
---|
37 | indexh=memind(m) |
---|
38 | |
---|
39 | y(m)=p1*vdepn(ix ,jy ,level,indexh,ngrid) & |
---|
40 | +p2*vdepn(ixp,jy ,level,indexh,ngrid) & |
---|
41 | +p3*vdepn(ix ,jyp,level,indexh,ngrid) & |
---|
42 | +p4*vdepn(ixp,jyp,level,indexh,ngrid) |
---|
43 | end do |
---|
44 | |
---|
45 | |
---|
46 | ! b) Temporal interpolation |
---|
47 | |
---|
48 | vdepo=(y(1)*dt2+y(2)*dt1)*dtt |
---|
49 | |
---|
50 | depoindicator(level)=.false. |
---|
51 | |
---|
52 | |
---|
53 | end subroutine interpol_vdep_nests |
---|
Note: See
TracBrowser
for help on using the repository browser.