Skip to content

Commit

Permalink
Fixing final min/max parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
wathen committed Aug 12, 2024
1 parent 47d94a5 commit e8addfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bacteria_docdyn.F90
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ subroutine initialize(self,configunit)
call self%get_parameter(self%qpB1cX, 'qpc', 'mmol P/mg C','maximum phosphorus to carbon ratio')
call self%get_parameter(self%qnB1cX, 'qnc', 'mmol N/mg C','maximum nitrogen to carbon ratio')
call self%get_parameter(self%urB1_O2X,'ur_O2', 'mmol O_2/mg C','oxygen consumed per carbon respired')
call self%get_parameter(self%denit, 'denit', '-', 'denitrification switch (0: off, 1: on)',default=0)
call self%get_parameter(self%denit, 'denit', '-', 'denitrification switch (0: off, 1: on)',default=0,minimum=0,maximum=1)

if (self%denit == 1) then
call self%get_parameter(self%DeniX, 'DeniX', '1/d', 'specific denitrification rate')
Expand Down
3 changes: 2 additions & 1 deletion src/benthic_column_particulate_matter.F90
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,8 @@ subroutine layer_initialize(self,configunit)
q10=1.0_rk
endif

call self%get_parameter(source_depth_distribution,'source_depth_distribution', '','vertical distribution of changes (1: constant absolute rate, 2: constant relative rate, 3: constant carbon-based relative rate)',default=1)
call self%get_parameter(source_depth_distribution,'source_depth_distribution', '','vertical distribution of changes (1:
constant absolute rate, 2: constant relative rate, 3: constant carbon-based relative rate)',default=1,minimum=1,maximum=3)

call self%register_dependency(self%id_d_tot,depth_of_sediment_column)

Expand Down
2 changes: 1 addition & 1 deletion src/primary_producer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ subroutine initialize(self,configunit)
call self%get_parameter(self%alpha, 'alpha','mg C m^2/mg Chl/W/d', 'initial slope of PI-curve')
call self%get_parameter(self%beta, 'beta', 'mg C m^2/mg Chl/W/d','photoinhibition parameter')
call self%get_parameter(self%phim, 'phim', 'mg Chl/mg C','maximum effective chlorophyll to carbon photosynthesis ratio')
call self%get_parameter(self%Limnut,'Limnut','', 'nitrogen-phosphorus colimitation formulation (0: geometric mean, 1: minimum, 2: harmonic mean)')
call self%get_parameter(self%Limnut,'Limnut','', 'nitrogen-phosphorus colimitation formulation (0: geometric mean, 1: minimum, 2: harmonic mean)',minimum=0,maximum=2)
call self%get_parameter(self%docdyn,'docdyn','','use dynamic ratio of labile to semi-labile DOM production', default=.false.)
if (.not.self%docdyn) call self%get_parameter(self%R1R2,'R1R2','-','labile fraction of produced dissolved organic carbon')
call self%get_parameter(self%uB1c_O2,'uB1c_O2','mmol O_2/mg C','oxygen produced per unit of carbon fixed')
Expand Down

0 comments on commit e8addfa

Please sign in to comment.