Skip to content

Commit

Permalink
Change logic in FAST-JX error trap in gc_environment_mod.F90
Browse files Browse the repository at this point in the history
GeosCore/gc_environment_mod.F90
- Now test if it is NOT a Hg simulation rather than testing if it is
  a fullchem or carbon simulation.

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Jul 15, 2024
1 parent 1e7aa94 commit 0118850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GeosCore/gc_environment_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ SUBROUTINE GC_Allocate_All( Input_Opt, &

#ifdef FASTJX
! Throw an error if FAST-JX is used for simulations other than Hg
IF ( Input_Opt%ITS_A_FULLCHEM_SIM .or. Input_Opt%ITS_A_CARBON_SIM ) THEN
IF ( .not. Input_Opt%ITS_A_MERCURY_SIM ) THEN
ErrMsg = 'FAST-JX is only supported in the Hg simulation!'
CALL GC_Error( ErrMsg, RC, ThisLoc )
RETURN
Expand Down

0 comments on commit 0118850

Please sign in to comment.