Skip to content

Commit

Permalink
Bug fix: Only calculate aerosol growth factors on first timestep
Browse files Browse the repository at this point in the history
In routine AEROSOL_CONC in aerosol_mod.F90, FIRST was never set to .FALSE.
causing growth factors to get computed every timestep.

Signed-off-by: Melissa Sulprizio <[email protected]>
  • Loading branch information
msulprizio committed Jun 22, 2021
1 parent 3fda1c9 commit fdfaef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GeosCore/aerosol_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ SUBROUTINE AEROSOL_CONC( Input_Opt, State_Chm, State_Diag, &
100 FORMAT(F5.2,A)
ENDIF

! Reset first-time flag
FIRST = .FALSE.

ENDIF

!$OMP PARALLEL DO &
Expand Down

0 comments on commit fdfaef4

Please sign in to comment.