Skip to content

Commit

Permalink
maintain ESM15 condition here;
Browse files Browse the repository at this point in the history
  • Loading branch information
JhanSrbinovsky committed Aug 14, 2024
1 parent 8b93b3b commit b611912
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/science/casa-cnp/casa_cnp.F90
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!#define ESM15 YES
#define ESM15 YES
!==============================================================================
! This source code is part of the
! Australian Community Atmosphere Biosphere Land Exchange (CABLE) model.
Expand Down Expand Up @@ -1023,10 +1023,9 @@ SUBROUTINE casa_delplant(veg,casabiome,casapool,casaflux,casamet, &
ENDIF

casapool%dNplantdt(npt,wood) = 0.0
#ifndef ESM15
! offline/trunk uses this condition
# ifndef ESM15 ! offline/trunk uses this condition
IF (casamet%lnonwood(npt)==0) &
#endif
# endif
casapool%dNplantdt(npt,wood) = - casaflux%kplant(npt,wood) &
* casapool%Nplant(npt,wood) &
* casabiome%ftransNPtoL(veg%iveg(npt),wood)
Expand Down

0 comments on commit b611912

Please sign in to comment.