Skip to content

Commit

Permalink
link forwarddiff. fix cold trap
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Jun 18, 2024
1 parent 7656333 commit 7663873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/adiabat/clima_adiabat_rc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ subroutine integrate(d, err)
d%sp_type(d%ind_root) = CondensingSpeciesType
elseif (d%sp_type(d%ind_root) == CondensingSpeciesType) then
! A gas has reached a cold trap
d%sp_type(:) = DrySpeciesType
d%sp_type(d%ind_root) = DrySpeciesType
endif
call update_f_i_dry(d, Pn, d%f_i_cur)
d%stopping_reason = ReachedPtop
Expand Down
1 change: 1 addition & 0 deletions src/dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ set(fppFiles
)
fypp_f90("" "${fppFiles}" outFiles)
add_library(finterp ${outFiles})
target_link_libraries(finterp forwarddiff)

CPMAddPackage(
NAME dop853
Expand Down

0 comments on commit 7663873

Please sign in to comment.