Skip to content

Commit dd7d751

Browse files
committed
Merge branch 'NSF-MPAS/physics_minor_bugs_3' into hotfix-v8.2.1 (PR #1226)
This merge removes an extra deallocation of the 'taod5503d_p' array in the deallocate_radiation_sw() routine in mpas_atmphys_driver_radiation_sw.F. The taod5503d_p array is only allocated when running the aerosol-aware Thompson cloud microphysics, and the extra deallocation that is removed in this merge only deallocated taod5503d_p if it was allocated.
2 parents 717a186 + bd4d0e0 commit dd7d751

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core_atmosphere/physics/mpas_atmphys_driver_radiation_sw.F

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ subroutine deallocate_radiation_sw(configs)
300300
if(allocated(pin_p) ) deallocate(pin_p )
301301
if(allocated(o3clim_p) ) deallocate(o3clim_p )
302302

303-
if(allocated(taod5503d_p) ) deallocate(taod5503d_p )
304303
if(allocated(tauaer_p) ) deallocate(tauaer_p )
305304
if(allocated(ssaaer_p) ) deallocate(ssaaer_p )
306305
if(allocated(asyaer_p) ) deallocate(asyaer_p )

0 commit comments

Comments
 (0)