You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/tutorials/bifurcation_diagram.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ opts = ContinuationPar( dsmax = 0.05, # Maximum arclength value of the ps
41
41
detectBifurcation=3, # Value in {0,1,2,3} determening to what extent bofurcation points are detected (0 means nothing is done, 3 both them and there localisation are detected).
42
42
newtonOptions =NewtonPar(tol =1e-9, verbose =false, maxIter =15)) #Parameters to the newton solver (when finding fixed points) see BifurcationKit documentation.
43
43
44
-
DO =DeflationOperator( 2.0,# Algorithm parameter required when using deflated continuation, see BifurcationKit documentation.
44
+
DO =DeflationOperator( 2, # Algorithm parameter required when using deflated continuation, see BifurcationKit documentation.
45
45
dot, # Algorithm parameter required when using deflated continuation, see BifurcationKit documentation.
46
46
1., # Algorithm parameter required when using deflated continuation, see BifurcationKit documentation.
47
47
[fill(0.,length(rn.states))]); # Guess(es) of the fixed point for the initial parameter set. Do not need to be exact.
@@ -52,7 +52,7 @@ With all this done, we can compute the bifurcations:
52
52
params_input =setindex!(copy(params),p_span[1],p_idx) # The input parameter values have to start at the first index of our parameter span.
verbosity =0, showplot=false, # We do not want to display, or plot, intermediary results.
55
-
printSolution=(x, p) -> x[plot_var_idx],# How we wish to print the output in the diagram. Here we simply want the value of the target varriable.
55
+
recordFromSolution =(x, p) -> x[plot_var_idx], # How we wish to print the output in the diagram. Here we simply want the value of the target varriable.
56
56
perturbSolution = (x,p,id) -> (x .+0.8.*rand(length(x))), # Parameter for the continuation method, see BifurcationKit documentation.
57
57
callbackN = (x, f, J, res, iteration, itlinear, options; kwargs...) -> res <1e7) # Parameter for the continuation method, see BifurcationKit documentation.
0 commit comments