SciML / LinearSolve.jl

LinearSolve.jl: High-Performance Unified Interface for Linear Solvers in Julia. Easily switch between factorization and Krylov methods, add preconditioners, and all in one interface.
https://docs.sciml.ai/LinearSolve/stable/
Other
248 stars 53 forks source link

The LinearSolve.jl interface #3

Closed ChrisRackauckas closed 2 years ago

ChrisRackauckas commented 3 years ago

Linear.pdf

YingboMa commented 3 years ago

Do we need ShiftedLinearProblem if there's LinearProblem(WOperator,...)?

ChrisRackauckas commented 3 years ago

We can leave that for us to figure out. @EdelmanJonathan won't handle that part.

ranocha commented 3 years ago

resize! would also be a great functionality for the cache, for example in the context of PDEs and adaptive mesh refinement.

ChrisRackauckas commented 3 years ago

yes, good point.

vpuri3 commented 2 years ago

should LinearCache also have fields for present solution u, and iteration count iter (set to 0 for factorizations)?

ChrisRackauckas commented 2 years ago

Yes

vpuri3 commented 2 years ago

what's weights in the third task: solve(prob,alg;reltol, abstol, weights, prec)?

ChrisRackauckas commented 2 years ago

Those are the weights supposed to be used in the scaled preconditioners.