GCC Code Coverage Report


Directory: ./
File: phys/water_int.f90
Date: 2022-01-11 19:19:34
Exec Total Coverage
Lines: 5 5 100.0%
Branches: 6 6 100.0%

Line Branch Exec Source
1 8637 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
2/2
✓ Branch 0 taken 8637 times.
✓ Branch 1 taken 8585178 times.
8593815 field2d(:)=0.0
18
2/2
✓ Branch 0 taken 336843 times.
✓ Branch 1 taken 8637 times.
345480 DO k=1, klev
19
2/2
✓ Branch 0 taken 334821942 times.
✓ Branch 1 taken 336843 times.
335167422 field2d(:)=field2d(:)+field3d(:,k)*mass(:,k)
20 ENDDO
21
22 8637 RETURN
23 END
24