Last change
on this file since 5133 was
5103,
checked in by abarral, 5 months ago
|
Handle CPP_INLANDSIS in lmdz_cppkeys_wrapper.F90
Remove obsolete key wrgrads_thermcell, _ADV_HALO, _ADV_HALLO, isminmax
Remove redundant uses of CPPKEY_INCA (thanks acozic)
Remove obsolete misc/write_field.F90
Remove unused ioipsl_* wrappers
Remove calls to WriteField_u with wrong signature
Convert .F -> .[fF]90
(lint) uppercase fortran operators
[note: 1d and iso still broken - working on it]
|
File size:
527 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.