Changeset 2408 for LMDZ5/branches/testing/libf/dyn3dmem/bands.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3dmem/bands.F90
r1910 r2408 105 105 SUBROUTINE Set_Bands 106 106 USE parallel_lmdz 107 #ifdef CPP_PHYS108 ! Ehouarn: what follows is only related to // physics109 USE mod_phys_lmdz_para, ONLY : jj_para_begin,jj_para_end110 #endif111 107 IMPLICIT NONE 112 108 INCLUDE 'dimensions.h' 113 INTEGER :: i 109 INTEGER :: i, ij 110 INTEGER :: jj_para_begin(0:mpi_size-1) 111 INTEGER :: jj_para_end(0:mpi_size-1) 114 112 115 113 do i=0,mpi_size-1 … … 118 116 enddo 119 117 120 #ifdef CPP_PHYS 121 do i=0,MPI_Size-1 118 jj_para_begin(0)=1 119 ij=distrib_phys(0)+iim-1 120 jj_para_end(0)=((ij-1)/iim)+1 121 122 DO i=1,mpi_Size-1 123 ij=ij+1 124 jj_para_begin(i)=((ij-1)/iim)+1 125 ij=ij+distrib_phys(i)-1 126 jj_para_end(i)=((ij-1)/iim)+1 127 ENDDO 128 129 do i=0,MPI_Size-1 122 130 jj_Nb_physic(i)=jj_para_end(i)-jj_para_begin(i)+1 123 131 if (i/=0) then … … 139 147 endif 140 148 enddo 141 #endif 149 142 150 CALL create_distrib(jj_Nb_Caldyn,distrib_caldyn) 143 151 CALL create_distrib(jj_Nb_vanleer,distrib_vanleer) … … 479 487 480 488 489
Note: See TracChangeset
for help on using the changeset viewer.