Changeset 2351 for LMDZ5/trunk/libf/dyn3dpar/bands.F90
- Timestamp:
- Aug 25, 2015, 5:14:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dpar/bands.F90
r1907 r2351 93 93 SUBROUTINE Set_Bands 94 94 USE parallel_lmdz 95 #ifdef CPP_PHYS96 ! Ehouarn: what follows is only related to // physics97 USE mod_phys_lmdz_para, ONLY : jj_para_begin,jj_para_end98 #endif99 95 IMPLICIT NONE 100 96 INCLUDE 'dimensions.h' 101 INTEGER :: i 102 97 INTEGER :: i, ij 98 INTEGER :: jj_para_begin(0:mpi_size-1) 99 INTEGER :: jj_para_end(0:mpi_size-1) 100 103 101 do i=0,mpi_size-1 104 102 jj_nb_vanleer2(i)=(jjm+1)/mpi_size … … 106 104 enddo 107 105 108 #ifdef CPP_PHYS 106 jj_para_begin(0)=1 107 ij=distrib_phys(0)+iim-1 108 jj_para_end(0)=((ij-1)/iim)+1 109 110 DO i=1,mpi_Size-1 111 ij=ij+1 112 jj_para_begin(i)=((ij-1)/iim)+1 113 ij=ij+distrib_phys(i)-1 114 jj_para_end(i)=((ij-1)/iim)+1 115 ENDDO 116 109 117 do i=0,MPI_Size-1 110 118 jj_Nb_physic(i)=jj_para_end(i)-jj_para_begin(i)+1 … … 127 135 endif 128 136 enddo 129 #endif130 137 131 138 end subroutine Set_Bands
Note: See TracChangeset
for help on using the changeset viewer.