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

Use SUNLinSolWrapper in NewtonSolver #1164

Closed
dweindl opened this issue Jul 19, 2020 · 1 comment
Closed

Use SUNLinSolWrapper in NewtonSolver #1164

dweindl opened this issue Jul 19, 2020 · 1 comment

Comments

@dweindl
Copy link
Member

dweindl commented Jul 19, 2020

We have C++ wrappers for the Sundials linear solvers, but the NewtonSolvers still use the raw objects. This makes those classes unnecessarily complex. Should use those wrappers there.

@paulstapor
Copy link
Contributor

That one is already part of #1073 , but makes sense to keep this in an issue of its own, as this one is larger.

dweindl added a commit to dweindl/AMICI that referenced this issue Sep 30, 2024
* Make it consistent that SUNLinSolWrapper always holds the associated matrix.
* Always use SUNMatrixWrapper instead of raw SUNMatrix objects

This makes it a bit easier to finally address AMICI-dev#1164.
@dweindl dweindl self-assigned this Sep 30, 2024
dweindl added a commit to dweindl/AMICI that referenced this issue Sep 30, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Sep 30, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Sep 30, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit that referenced this issue Oct 1, 2024
* Make it consistent that SUNLinSolWrapper always holds the associated matrix
* Always use SUNMatrixWrapper instead of raw SUNMatrix objects
* Implement declared but missing move assignment

This makes it a bit easier to finally address #1164.
dweindl added a commit to dweindl/AMICI that referenced this issue Oct 1, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Oct 3, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Oct 3, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Oct 3, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
dweindl added a commit to dweindl/AMICI that referenced this issue Oct 3, 2024
Use SUNLinSolWrapper. Get rid of subclasses. Simplify.

Closes AMICI-dev#1164.

We should also be able to get rid of the remaining data members,
but that's for another time...
@dweindl dweindl closed this as completed in f66f0b0 Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants