Changeset 2628 for trunk/LMDZ.MARS/libf/phymars/surfdat_h.F90
- Timestamp:
- Feb 28, 2022, 6:46:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/surfdat_h.F90
r2578 r2628 35 35 !$OMP TESice_Scoef,iceradius,dtemisice, & 36 36 !$OMP zmea,zstd,zsig,zgam,zthe,hmons,summit,base,z0,z0_default ) 37 38 !! mountain top dust flows 39 REAL,SAVE,ALLOCATABLE :: alpha_hmons(:) ! sub-grid scale mountain mesh fraction 40 REAL,SAVE,ALLOCATABLE :: hsummit(:) ! mountain height above the GCM surface 41 LOGICAL,SAVE,ALLOCATABLE :: contains_mons(:) ! is there a mountain in the grid mesh ? 42 43 !$OMP THREADPRIVATE(alpha_hmons,hsummit,contains_mons) 37 44 38 45 !! variables … … 75 82 allocate(summit(ngrid)) 76 83 allocate(base(ngrid)) 77 84 allocate(alpha_hmons(ngrid)) 85 allocate(hsummit(ngrid)) 86 allocate(contains_mons(ngrid)) 87 78 88 end subroutine ini_surfdat_h 79 89 … … 83 93 implicit none 84 94 85 if (allocated(albedodat)) deallocate(albedodat) 86 if (allocated(phisfi)) deallocate(phisfi) 87 if (allocated(watercaptag)) deallocate(watercaptag) 88 if (allocated(dryness)) deallocate(dryness) 89 if (allocated(zmea)) deallocate(zmea) 90 if (allocated(zstd)) deallocate(zstd) 91 if (allocated(zsig)) deallocate(zsig) 92 if (allocated(zgam)) deallocate(zgam) 93 if (allocated(zthe)) deallocate(zthe) 94 if (allocated(z0)) deallocate(z0) 95 if (allocated(qsurf)) deallocate(qsurf) 96 if (allocated(tsurf)) deallocate(tsurf) 97 if (allocated(co2ice)) deallocate(co2ice) 98 if (allocated(watercap)) deallocate(watercap) 99 if (allocated(emis)) deallocate(emis) 100 if (allocated(capcal)) deallocate(capcal) 101 if (allocated(fluxgrd)) deallocate(fluxgrd) 102 if (allocated(hmons)) deallocate(hmons) 103 if (allocated(summit)) deallocate(summit) 104 if (allocated(base)) deallocate(base) 95 if (allocated(albedodat)) deallocate(albedodat) 96 if (allocated(phisfi)) deallocate(phisfi) 97 if (allocated(watercaptag)) deallocate(watercaptag) 98 if (allocated(dryness)) deallocate(dryness) 99 if (allocated(zmea)) deallocate(zmea) 100 if (allocated(zstd)) deallocate(zstd) 101 if (allocated(zsig)) deallocate(zsig) 102 if (allocated(zgam)) deallocate(zgam) 103 if (allocated(zthe)) deallocate(zthe) 104 if (allocated(z0)) deallocate(z0) 105 if (allocated(qsurf)) deallocate(qsurf) 106 if (allocated(tsurf)) deallocate(tsurf) 107 if (allocated(co2ice)) deallocate(co2ice) 108 if (allocated(watercap)) deallocate(watercap) 109 if (allocated(emis)) deallocate(emis) 110 if (allocated(capcal)) deallocate(capcal) 111 if (allocated(fluxgrd)) deallocate(fluxgrd) 112 if (allocated(hmons)) deallocate(hmons) 113 if (allocated(summit)) deallocate(summit) 114 if (allocated(base)) deallocate(base) 115 if (allocated(alpha_hmons)) deallocate(alpha_hmons) 116 if (allocated(hsummit)) deallocate(hsummit) 117 if (allocated(contains_mons)) deallocate(contains_mons) 105 118 106 119 end subroutine end_surfdat_h
Note: See TracChangeset
for help on using the changeset viewer.