Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create SCCNonlinearSolve #502

Merged
merged 27 commits into from
Nov 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3fbb0f8
Create SCCNonlinearSolve
ChrisRackauckas Nov 14, 2024
777b85a
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
ChrisRackauckas Nov 15, 2024
a2a9874
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
ChrisRackauckas Nov 15, 2024
c1a0c50
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
ChrisRackauckas Nov 15, 2024
1fb625e
Update lib/SCCNonlinearSolve/test/core_tests.jl
ChrisRackauckas Nov 15, 2024
b328dcc
format scc
ChrisRackauckas Nov 15, 2024
5789fe8
just use params
ChrisRackauckas Nov 15, 2024
e26cd99
re format
ChrisRackauckas Nov 15, 2024
0a43802
SII
ChrisRackauckas Nov 15, 2024
2a0f340
Merge branch 'master' into scc
ChrisRackauckas Nov 15, 2024
de219e9
fix CI
ChrisRackauckas Nov 15, 2024
c69a4a7
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
ChrisRackauckas Nov 15, 2024
7628740
fix up test setup
ChrisRackauckas Nov 15, 2024
20e833f
Update Project.toml
ChrisRackauckas Nov 15, 2024
48bf3de
Update core_tests.jl
ChrisRackauckas Nov 15, 2024
ff5a4b1
Update lib/SCCNonlinearSolve/test/core_tests.jl
ChrisRackauckas Nov 15, 2024
d737b84
Update lib/SCCNonlinearSolve/test/core_tests.jl
ChrisRackauckas Nov 15, 2024
bf3c193
Update core_tests.jl
ChrisRackauckas Nov 15, 2024
358b5af
Update lib/SCCNonlinearSolve/test/core_tests.jl
ChrisRackauckas Nov 15, 2024
4c35749
Update core_tests.jl
ChrisRackauckas Nov 15, 2024
dc8050e
Update Project.toml
ChrisRackauckas Nov 15, 2024
649e09a
Update lib/SCCNonlinearSolve/test/qa_tests.jl
ChrisRackauckas Nov 15, 2024
df1dcaf
Update lib/SCCNonlinearSolve/test/qa_tests.jl
ChrisRackauckas Nov 15, 2024
ea8e982
Update Project.toml
ChrisRackauckas Nov 15, 2024
f0386c2
Update qa_tests.jl
ChrisRackauckas Nov 15, 2024
fde2bf5
Update lib/SCCNonlinearSolve/test/qa_tests.jl
ChrisRackauckas Nov 15, 2024
714687e
Update lib/SCCNonlinearSolve/test/qa_tests.jl
ChrisRackauckas Nov 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
Co-authored-by: Aayush Sabharwal <[email protected]>
ChrisRackauckas and AayushSabharwal authored Nov 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 777b85a8b5e0aeff6b4cdf4390711bbb44b754c3
3 changes: 2 additions & 1 deletion lib/SCCNonlinearSolve/src/SCCNonlinearSolve.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module SCCNonlinearSolve

import SciMLBase
import CommonSolve

function SciMLBase.solve(prob::SciMLBase.SCCNonlinearProblem, alg; kwargs...)
function CommonSolve.solve(prob::SciMLBase.SCCNonlinearProblem, alg; kwargs...)
numscc = length(prob.probs)
sols = [SciMLBase.build_solution(prob, nothing, prob.u0, convert(eltype(prob.u0),NaN)*prob.u0) for prob in prob.probs]
u = reduce(vcat,[prob.u0 for prob in prob.probs])