Changeset 2311 for LMDZ5/trunk/libf/phylmd/traclmdz_mod.F90
- Timestamp:
- Jun 25, 2015, 9:45:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/traclmdz_mod.F90
r2265 r2311 77 77 ! Allocate restart variables trs 78 78 ALLOCATE( trs(klon,nbtr), stat=ierr) 79 IF (ierr /= 0) CALL abort_ gcm('traclmdz_from_restart', 'pb in allocation 1',1)79 IF (ierr /= 0) CALL abort_physic('traclmdz_from_restart', 'pb in allocation 1',1) 80 80 81 81 ! Initialize trs with values read from restart file … … 96 96 USE mod_phys_lmdz_para 97 97 USE indice_sol_mod 98 99 INCLUDE "iniprint.h" 98 USE print_control_mod, ONLY: lunout 99 100 100 ! Input variables 101 101 REAL,DIMENSION(klon,nbsrf),INTENT(IN) :: pctsrf ! Pourcentage de sol f(nature du sol) … … 133 133 ! -------------------------------------------- 134 134 ALLOCATE( scavtr(nbtr), stat=ierr) 135 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 9',1)135 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 9',1) 136 136 scavtr(:)=1. 137 137 138 138 ALLOCATE( radio(nbtr), stat=ierr) 139 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 11',1)139 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 11',1) 140 140 radio(:) = .false. ! Par defaut pas decroissance radioactive 141 141 142 142 ALLOCATE( masktr(klon,nbtr), stat=ierr) 143 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 2',1)143 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 2',1) 144 144 145 145 ALLOCATE( fshtr(klon,nbtr), stat=ierr) 146 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 3',1)146 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 3',1) 147 147 148 148 ALLOCATE( hsoltr(nbtr), stat=ierr) 149 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 4',1)149 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 4',1) 150 150 151 151 ALLOCATE( tautr(nbtr), stat=ierr) 152 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 5',1)152 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 5',1) 153 153 tautr(:) = 0. 154 154 155 155 ALLOCATE( vdeptr(nbtr), stat=ierr) 156 IF (ierr /= 0) CALL abort_ gcm('traclmdz_init', 'pb in allocation 6',1)156 IF (ierr /= 0) CALL abort_physic('traclmdz_init', 'pb in allocation 6',1) 157 157 vdeptr(:) = 0. 158 158
Note: See TracChangeset
for help on using the changeset viewer.