Skip to content

Commit

Permalink
change the default value in temperature regulation
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenwu0728 committed Oct 3, 2024
1 parent 7df2eba commit 8605531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plankton/CarbonMode/growth_kernels.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##### temperature function for photosynthesis
@inline function tempFunc_PS(temp, p)
x = temp - p.Topt; xmax = p.Tmax - p.Topt
regT = shape_func_dec(x, xmax, 4.0f-2)
regT = shape_func_dec(x, xmax, 1.0f-1)
k = exp(-p.Ea/(8.3145f0*(temp+273.15f0))) * regT
k = max(0.0f0, k)
OGT_rate = exp(-p.Ea/(8.3145f0*(p.Topt+273.15f0)))
Expand Down

0 comments on commit 8605531

Please sign in to comment.