What is the easiest way of topping field values within the framework of the SIR example? #257
Unanswered
HannoSpreeuw
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I guess one could use
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the SIR model example what would be the easiest way to limit the values of one of the fields?
By means of
evolution_rate
the three fieldss
,i
andr
evolve.What if one of those three fields cannot exceed some value because of some constraint?
Say that
i
cannot exceed some valuealpha
. So ifi
became larger thanalpha
it would have to be set equal toalpha
.How would you implement that?
Beta Was this translation helpful? Give feedback.
All reactions