Last change
on this file since 5407 was
5390,
checked in by yann meurdesoif, 9 days ago
|
- Remove UTF8 character that inihibit fortran parsing with GPU morphosis
- Add missing END SUBROUTINE instead of simple END, that inhibit correct parsing with regulat expression parser (quick and dirty parsing)
YM
|
File size:
548 bytes
|
Line | |
---|
1 | subroutine water_int(klon,klev,field3d,mass,field2d) |
---|
2 | |
---|
3 | !============================================================= |
---|
4 | ! Compute the 2D burden from 3D mixing ratios |
---|
5 | ! OB (obolmd@lmd.jussieu.fr) |
---|
6 | !============================================================= |
---|
7 | |
---|
8 | IMPLICIT none |
---|
9 | |
---|
10 | ! Arguments |
---|
11 | INTEGER, INTENT(IN) :: klon,klev |
---|
12 | REAL, DIMENSION(klon,klev),INTENT(IN) :: field3d, mass |
---|
13 | REAL, DIMENSION(klon), INTENT(OUT) :: field2d |
---|
14 | |
---|
15 | INTEGER k |
---|
16 | |
---|
17 | field2d(:)=0.0 |
---|
18 | DO k=1, klev |
---|
19 | field2d(:)=field2d(:)+field3d(:,k)*mass(:,k) |
---|
20 | ENDDO |
---|
21 | |
---|
22 | RETURN |
---|
23 | END SUBROUTINE water_int |
---|
Note: See
TracBrowser
for help on using the repository browser.