- Timestamp:
- Aug 27, 2017, 8:30:09 AM (7 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/lwmain.F
r1266 r1772 80 80 integer jk,jkk,ja,jl 81 81 82 logical firstcall83 save firstcall84 data firstcall/.true./85 86 82 87 83 c---------------------------------------------------------------------- 88 84 c 0.3 Initialisation 89 85 c -------------- 90 91 if (firstcall) then92 93 firstcall = .false.94 95 xi (:,:,:,:)=0.96 97 endif98 86 99 87 DO jl=1 , kdlon -
trunk/LMDZ.MARS/libf/phymars/yomlw_h.F90
r1224 r1772 35 35 allocate(xi_ground(ngrid,nuco2)) 36 36 allocate(xi_emis(ngrid,nuco2,nflev-1)) 37 37 38 xi (:,:,:,:)=0. ! initialisation previously done in lwmain at firstcall 39 38 40 ! initialize xp(),at(),bt(),ga(),gb(),cst_voigt() 39 41 … … 76 78 77 79 end subroutine ini_yomlw_h 78 80 81 subroutine end_yomlw_h 82 83 implicit none 84 85 if (allocated(xi)) deallocate(xi) 86 if (allocated(xi_ground)) deallocate(xi_ground) 87 if (allocated(xi_emis)) deallocate(xi_emis) 88 89 end subroutine end_yomlw_h 90 79 91 end module yomlw_h
Note: See TracChangeset
for help on using the changeset viewer.