Last change
on this file since 2226 was
1572,
checked in by emillour, 8 years ago
|
All GCMs:
Further adaptations to keep up with changes in LMDZ5 concerning
physics/dynamics separation (up to rev r2500 of LMDZ5)
- arch:
- remove ifort debug option '-check all', replace it with
'-check bounds,format,output_conversion,pointers,uninit' (i.e.
get it to stop complaining about copying into temporary arrays)
- dyn3d_common:
- comconst_mod.F90 : add ngroup
- dyn3d:
- gcm.F90 : minor bug fix (arguments to a call_abort())
- leapfrog.F90 : recompute geopotential for bilan_dyn outputs
- conf_gcm.F90 : read "ngroup" from run.def
- groupe.F , groupeun.F : ngroup no longer a local parameter
- dyn3d_par:
- conf_gcm.F90 : read "ngroup" from run.def
- groupe_p.F , groupeun_p.F : ngroup no longer a local parameter
- misc:
- regr1_step_av_m.F90 : removed (not used)
- phy_common:
- mod_phys_lmdz_mpi_transfert.F90 , mod_phys_lmdz_mpi_data.F90 : change
is_north_pole and is_south_pole to is_north_pole_dyn and is_south_pole_dyn
- mod_phys_lmdz_omp_data.F90 : introduce is_nort_pole_phy and is_south_pole_phy
- dynphy_lonlat:
- mod_interface_dyn_phys.F90 : use is_north_pole_dyn and is_south_pole_dyn
- calfis_p.F : use is_north_pole_dyn and is_south_pole_dyn
- phyvenus:
- physiq_mod , write_hist*.h : use is_north_pole_phy and is_south_pole_phy
to correctly compute mesh area at poles to send to hist*nc files.
- phytitan:
- physiq_mod , write_hist*.h : use is_north_pole_phy and is_south_pole_phy
to correctly compute mesh area at poles to send to hist*nc files.
EM
|
File size:
1.2 KB
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: mod_interface_dyn_phys.F90 2351 2015-08-25 15:14:59Z emillour $ |
---|
3 | ! |
---|
4 | MODULE mod_interface_dyn_phys |
---|
5 | INTEGER,SAVE,dimension(:),allocatable :: index_i |
---|
6 | INTEGER,SAVE,dimension(:),allocatable :: index_j |
---|
7 | |
---|
8 | |
---|
9 | CONTAINS |
---|
10 | |
---|
11 | #ifdef CPP_PARA |
---|
12 | ! Interface with parallel physics, |
---|
13 | SUBROUTINE Init_interface_dyn_phys |
---|
14 | USE mod_phys_lmdz_mpi_data |
---|
15 | IMPLICIT NONE |
---|
16 | include 'dimensions.h' |
---|
17 | |
---|
18 | INTEGER :: i,j,k |
---|
19 | |
---|
20 | ALLOCATE(index_i(klon_mpi)) |
---|
21 | ALLOCATE(index_j(klon_mpi)) |
---|
22 | |
---|
23 | k=1 |
---|
24 | IF (is_north_pole_dyn) THEN |
---|
25 | index_i(k)=1 |
---|
26 | index_j(k)=1 |
---|
27 | k=2 |
---|
28 | ELSE |
---|
29 | DO i=ii_begin,iim |
---|
30 | index_i(k)=i |
---|
31 | index_j(k)=jj_begin |
---|
32 | k=k+1 |
---|
33 | ENDDO |
---|
34 | ENDIF |
---|
35 | |
---|
36 | DO j=jj_begin+1,jj_end-1 |
---|
37 | DO i=1,iim |
---|
38 | index_i(k)=i |
---|
39 | index_j(k)=j |
---|
40 | k=k+1 |
---|
41 | ENDDO |
---|
42 | ENDDO |
---|
43 | |
---|
44 | IF (is_south_pole_dyn) THEN |
---|
45 | index_i(k)=1 |
---|
46 | index_j(k)=jj_end |
---|
47 | ELSE |
---|
48 | DO i=1,ii_end |
---|
49 | index_i(k)=i |
---|
50 | index_j(k)=jj_end |
---|
51 | k=k+1 |
---|
52 | ENDDO |
---|
53 | ENDIF |
---|
54 | |
---|
55 | END SUBROUTINE Init_interface_dyn_phys |
---|
56 | #else |
---|
57 | SUBROUTINE Init_interface_dyn_phys |
---|
58 | ! dummy routine for seq case |
---|
59 | END SUBROUTINE Init_interface_dyn_phys |
---|
60 | #endif |
---|
61 | ! of #ifdef CPP_PARA |
---|
62 | END MODULE mod_interface_dyn_phys |
---|
Note: See
TracBrowser
for help on using the repository browser.