Skip to content

Commit 6ed6a8c

Browse files
authored
Merge pull request #179 from fverdugo/solvers
Release PartitionedArrays v0.5.6
2 parents 955d2eb + 04411e4 commit 6ed6a8c

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.6] - 2024-10-28
9+
10+
### Added
11+
12+
- Sequential version of gallery functions.
13+
814
## [0.5.5] - 2024-10-07
915

1016
### Added

PartitionedSolvers/src/wrappers.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function IterativeSolvers_cg(p;kwargs...)
2828
linear_solver(update,step,p,A)
2929
end
3030

31-
function NLSolvers_nlsolve_setup(p)
31+
function NLsolve_nlsolve_setup(p)
3232
function f!(r,x)
3333
update(p,residual=r,jacobian=nothing,solution=x)
3434
r
@@ -44,13 +44,13 @@ function NLSolvers_nlsolve_setup(p)
4444
df = NLsolve.OnceDifferentiable(f!,j!,fj!,solution(p),residual(p),jacobian(p))
4545
end
4646

47-
function NLSolvers_nlsolve(p;kwargs...)
47+
function NLsolve_nlsolve(p;kwargs...)
4848
@assert uses_mutable_types(p)
49-
workspace = NLSolvers_nlsolve_setup(p)
49+
workspace = NLsolve_nlsolve_setup(p)
5050
function update(workspace,p)
51-
workspace = NLSolvers_nlsolve_setup(p)
51+
workspace = NLsolve_nlsolve_setup(p)
5252
end
53-
function step(workspace,p,phase=:start;kwargs...)
53+
function step(workspace,p,phase=:start;options...)
5454
if phase === :stop
5555
return nothing
5656
end
@@ -64,7 +64,7 @@ function NLSolvers_nlsolve(p;kwargs...)
6464
nonlinear_solver(update,step,p,workspace)
6565
end
6666

67-
function NLSolvers_nlsolve_linsolve(solver,p)
67+
function NLsolve_nlsolve_linsolve(solver,p)
6868
x = solution(p)
6969
A = jacobian(p)
7070
r = residual(p)

PartitionedSolvers/test/wrappers_tests.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ end
5656

5757
x .= 0
5858
p = PS.update(p,solution=x)
59-
s = PS.NLSolvers_nlsolve(p;show_trace=true,method=:newton)
59+
s = PS.NLsolve_nlsolve(p;show_trace=true,method=:newton)
6060
s = PS.solve(s)
6161

62-
linsolve = PS.NLSolvers_nlsolve_linsolve(PS.LinearAlgebra_lu,p)
62+
linsolve = PS.NLsolve_nlsolve_linsolve(PS.LinearAlgebra_lu,p)
6363
x .= 0
6464
p = PS.update(p,solution=x)
65-
s = PS.NLSolvers_nlsolve(p;show_trace=true,linsolve,method=:newton)
65+
s = PS.NLsolve_nlsolve(p;show_trace=true,linsolve,method=:newton)
6666
s = PS.solve(s)
6767

6868
end # module

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PartitionedArrays"
22
uuid = "5a9dfac6-5c52-46f7-8278-5e2210713be9"
33
authors = ["Francesc Verdugo <[email protected]> and contributors"]
4-
version = "0.5.5"
4+
version = "0.5.6"
55

66
[deps]
77
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"

0 commit comments

Comments
 (0)