source: LMDZ6/branches/contrails/libf/phylmd/water_int.f90 @ 5450

Last change on this file since 5450 was 5390, checked in by yann meurdesoif, 3 weeks 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 
1subroutine 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
8IMPLICIT none
9
10! Arguments
11INTEGER, INTENT(IN) :: klon,klev
12REAL, DIMENSION(klon,klev),INTENT(IN)  :: field3d, mass
13REAL, DIMENSION(klon),     INTENT(OUT) :: field2d
14
15INTEGER k
16
17field2d(:)=0.0
18DO k=1, klev
19field2d(:)=field2d(:)+field3d(:,k)*mass(:,k)
20ENDDO
21
22RETURN
23END SUBROUTINE water_int
Note: See TracBrowser for help on using the repository browser.