Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenwu0728 committed Aug 6, 2024
1 parent eaca239 commit 1dbc5b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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.0f0e-2)
regT = shape_func_dec(x, xmax, 4.0f-2)
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
2 changes: 1 addition & 1 deletion src/Plankton/IronEnergyMode/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.0f0e-2)
regT = shape_func_dec(x, xmax, 4.0f-2)
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
2 changes: 1 addition & 1 deletion src/Plankton/MacroMolecularMode/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.0f0e-2)
regT = shape_func_dec(x, xmax, 4.0f-2)
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
2 changes: 1 addition & 1 deletion src/Plankton/QuotaMode/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.0f0e-2)
regT = shape_func_dec(x, xmax, 4.0f-2)
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 1dbc5b4

Please sign in to comment.