/[lmdze]/trunk/dyn3d/gr_int_dyn_m.f
ViewVC logotype

Annotation of /trunk/dyn3d/gr_int_dyn_m.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (hide annotations)
Wed Aug 24 11:43:14 2011 UTC (12 years, 9 months ago) by guez
Original Path: trunk/libf/dyn3d/gr_int_dyn_m.f90
File size: 859 byte(s)
LMDZE now uses library Jumble.

Removed all calls to "flinget". Replaced calls to "flinget",
"flininfo", "flinopen_nozoom" by calls to NetCDF95 and Jumble.

Split file "cv_driver.f" into "cv_driver.f90", "cv_flag.f90" and
"cv_thermo.f90".

Bug fix: "QANCIEN" was read twice in "phyeytat0".

In "physiq", initialization of "d_t", "d_u", "d_v" was useless.

1 guez 3 module gr_int_dyn_m
2    
3     ! Clean: no C preprocessor directive, no include line
4    
5     implicit none
6    
7     contains
8    
9     function gr_int_dyn(champin)
10    
11     ! From dyn3d/gr_int_dyn.F,v 1.1.1.1 2004/05/19 12:53:07
12    
13     ! Passage d'un champ interpolé à un champ sur grille scalaire
14    
15     REAL, intent(in):: champin(:, :)
16     REAL gr_int_dyn(size(champin, 1) + 1, size(champin, 2))
17    
18     ! Variables local to the procedure:
19     integer iim, jp1
20    
21     !-----------------------------------------------------------------------
22    
23     iim = size(champin, 1)
24     jp1 = size(champin, 2)
25    
26     gr_int_dyn(:, 1) = sum(champin(:, 1)) / iim ! north pole
27     gr_int_dyn(:, jp1) = sum(champin(:, jp1)) / iim ! south pole
28 guez 49 gr_int_dyn(: iim, 2: jp1 - 1) = champin(:, 2: jp1 - 1)
29     gr_int_dyn(iim + 1, 2: jp1 - 1) = gr_int_dyn(1, 2: jp1 - 1)
30 guez 3
31     END function gr_int_dyn
32    
33     end module gr_int_dyn_m

  ViewVC Help
Powered by ViewVC 1.1.21