Skip to content

Commit

Permalink
add classify_default for limit_cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
oameye committed Nov 20, 2024
1 parent 4dbccd5 commit 7f991cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/LimitCycles/gauge_fixing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ function get_limit_cycles(
return get_limit_cycles(eom, method, swept, fixed, ω_lc; kwargs...)
end
function get_limit_cycles(
prob::Problem, method::HarmonicBalanceMethod, swept, fixed, ω_lc; kwargs...
prob::Problem, method::HarmonicBalanceMethod, swept, fixed, ω_lc;
classify_default=true, kwargs...
)
result = get_steady_states(prob, method, swept, fixed; kwargs...)
_classify_limit_cycles!(result, ω_lc)
result = get_steady_states(prob, method, swept, fixed; classify_default=classify_default, kwargs...)
classify_default ? _classify_limit_cycles!(result, ω_lc) : nothing
return result
end

Expand Down

0 comments on commit 7f991cb

Please sign in to comment.