Changeset 3650 for trunk/LMDZ.PLUTO/libf/phypluto/aerosol_mod.F90
- Timestamp:
- Feb 26, 2025, 10:41:29 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/aerosol_mod.F90
r3632 r3650 75 75 STOP "No filename given for haze profile. Either set hazemmr_file or hazedens_file" 76 76 endif 77 78 if (is_master) then 79 if(.not.allocated(levdat)) then 80 allocate(levdat(Nfine)) 81 endif 82 if(.not.allocated(densdat)) then 83 allocate(densdat(Nfine)) 84 endif 77 !$OMP MASTER 78 if(.not.allocated(levdat)) then 79 allocate(levdat(Nfine)) 80 endif 81 if(.not.allocated(densdat)) then 82 allocate(densdat(Nfine)) 83 endif 85 84 86 85 87 88 89 90 91 92 93 94 endif 86 file_path=trim(datadir)//'/haze_prop/'//file_name 87 open(224,file=file_path,form='formatted') 88 do ifine=1,Nfine 89 read(224,*) levdat(ifine), densdat(ifine) 90 enddo 91 close(224) 92 print*, 'Read Haze profile: ',file_path 93 !$OMP END MASTER 95 94 !$OMP BARRIER 96 95 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.