Skip to content

Commit

Permalink
Demonstrate switch via Bautin bifurcation
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 8, 2018
1 parent 312db2b commit 6a752f4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/src/examples/bazykin_85.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,33 @@ push!(codim2_solvers, hopf_solver2)
nothing # hide
```

Switch to the fold bifurcation of limit cycle via Bautin bifurcation:

```@example bazykin85
using Bifurcations: Codim2
using Bifurcations.Codim2LimitCycle: FoldLimitCycleProblem
bautin_point_list = special_points(hopf_solver2, Codim2.PointTypes.bautin)
@assert length(bautin_point_list) == 1
bautin_point, = bautin_point_list
flc_prob = FoldLimitCycleProblem(
bautin_point,
hopf_solver2;
num_mesh = 20,
degree = 3,
)
flc_solver = init(
flc_prob;
start_from_nearest_root = true,
max_branches = 0,
)
solve!(flc_solver)
@show flc_solver
push!(codim2_solvers, flc_solver)
nothing # hide
```

Merge continuations and draw the bifurcation diagram:

```@example bazykin85
Expand Down

0 comments on commit 6a752f4

Please sign in to comment.