Skip to content

Commit

Permalink
testing on FCR
Browse files Browse the repository at this point in the history
  • Loading branch information
matthipsey committed Apr 10, 2022
1 parent 0a933ab commit b78873d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/aed_carbon.F90
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ SUBROUTINE aed_define_carbon(data, namlst)
data%simDIC = .false.
data%simCH4 = .false.
data%simCH4ebb = .false.
IF (ebb_model>0) data%simCH4ebb = .true.

!# Read the namelist
read(namlst,nml=aed_carbon,iostat=status)
Expand All @@ -213,6 +212,8 @@ SUBROUTINE aed_define_carbon(data, namlst)
STOP
ENDIF

IF (ebb_model>0) data%simCH4ebb = .true.

!# Store parameter values in modules own derived type
! Note: rates are provided in values per day, and
! are converted here to values per second.
Expand Down
2 changes: 0 additions & 2 deletions src/aed_phosphorus.F90
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,6 @@ SUBROUTINE aed_calculate_benthic_phosphorus(data,column,layer_idx)
!ENDIF
frp_flux = Fsed_frp

print *,'frp_flux,',frp,frp_flux

! Set bottom fluxes for the pelagic (change per surface area per second)
_FLUX_VAR_(data%id_frp) = _FLUX_VAR_(data%id_frp) + frp_flux

Expand Down
1 change: 1 addition & 0 deletions src/aed_phytoplankton.F90
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ SUBROUTINE aed_define_phytoplankton(data, namlst)
dtlim = zerolimitfudgefactor
IF( extra_debug ) extra_diag = .true. ! legacy use of extra_debug
IF ( extra_diag ) diag_level = 10
IF ( do_mpb==0 ) resus_link = ''

! Set module parameters
data%min_rho = min_rho ; data%max_rho = max_rho
Expand Down
3 changes: 2 additions & 1 deletion src/aed_sedflux.F90
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ SUBROUTINE aed_initialize_benthic_sedflux(data, column, layer_idx)

!zone = INT(_STATE_VAR_S_(data%id_zones)) !MH upgrade this for active zones
sedz = _STATE_VAR_S_(data%id_zones)

IF ( .NOT. in_zone_set(sedz, data%active_zones) ) RETURN

zone = 0
Expand Down Expand Up @@ -640,6 +641,7 @@ SUBROUTINE aed_initialize_benthic_sedflux(data, column, layer_idx)
IF ( data%id_Fsed_ch4 > 0 ) _DIAG_VAR_S_(data%id_Fsed_ch4) = Fsed_ch4
IF ( data%id_Fsed_feii > 0 ) _DIAG_VAR_S_(data%id_Fsed_feii) = Fsed_feii
IF ( data%id_Fsed_ch4_ebb > 0 ) _DIAG_VAR_S_(data%id_Fsed_ch4_ebb) = Fsed_ch4_ebb

END SUBROUTINE aed_initialize_benthic_sedflux
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Expand All @@ -657,7 +659,6 @@ SUBROUTINE aed_calculate_benthic_sedflux(data,column,layer_idx)
! INTEGER :: zone
!
!-------------------------------------------------------------------------------

IF ( data%sed_modl .EQ. SED_CONSTANT .OR. data%sed_modl .EQ. SED_CONSTANT_2D ) &
CALL aed_initialize_benthic_sedflux(data, column, layer_idx)

Expand Down

0 comments on commit b78873d

Please sign in to comment.