Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GEOSpchem_GridComp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ esma_set_this ()

esma_add_library (${this}
SRCS GEOS_PChemGridComp.F90
DEPENDENCIES MAPL MAPL_cfio_r4 Chem_Base ESMF::ESMF NetCDF::NetCDF_Fortran)
DEPENDENCIES MAPL MAPL_cfio_r4 GEOS_Shared Chem_Base ESMF::ESMF NetCDF::NetCDF_Fortran)
7 changes: 4 additions & 3 deletions GEOSpchem_GridComp/GEOS_PChemGridComp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module GEOS_PChemGridCompMod
use ESMF
use MAPL
use Chem_Mod
use GEOS_ConfigMod, only: jason_on
use netcdf


Expand Down Expand Up @@ -1783,7 +1784,7 @@ subroutine UPDATE(NN,NAME,XX)
end do

if(trim(NAME)=="H2O") then
if (LM == 72) then
if (jason_on(MAPL, 'CHM', LM)) then
call MAPL_GetResource(MAPL, DELP, LABEL=trim(NAME)//"_DELP:" , DEFAULT=5000. ,RC=STATUS)
VERIFY_(STATUS)
else
Expand Down Expand Up @@ -1829,7 +1830,7 @@ subroutine UPDATE(NN,NAME,XX)
deallocate(WRK)
endif
elseif(trim(NAME)=="OX") then
if (LM == 72) then
if (jason_on(MAPL, 'CHM', LM)) then
call MAPL_GetResource(MAPL, DELP, LABEL=trim(NAME)//"_DELP:" , DEFAULT=5000. ,RC=STATUS)
VERIFY_(STATUS)
else
Expand Down Expand Up @@ -1951,7 +1952,7 @@ subroutine UPDATE_H2O_PL(NAME,XX)
enddo
end do

if (LM == 72) then
if (jason_on(MAPL, 'CHM', LM)) then
call MAPL_GetResource(MAPL, DELP, LABEL=trim(NAME)//"_DELP:" , DEFAULT=5000. ,RC=STATUS)
VERIFY_(STATUS)
call MAPL_GetResource(MAPL, PCRIT, LABEL=trim(NAME)//"_PCRIT:", DEFAULT=20000., RC=STATUS)
Expand Down
Loading