Skip to content

Make all linear solvers accept a preconditioner #469

Description

@yguclu

All the linear solvers in psydac/linalg/solvers.py should accept a preconditioner, i.e. a LinearOperator object which approximates the inverse operator. As a consequence, we should reduce the number of solver classes (e.g. merge ConjugateGradient with PConjugateGradient).

Activity

  1. changed the title [-]Make all solvers accept a preconditioner and reduce number of classes (e.g. merge `ConjugateGradient` with `PConjugateGradient`)[/-] [+]Make all linear solvers accept a preconditioner[/+] on Mar 11, 2025
  2. added theissue type on Mar 11, 2025
  3. added
    urgentPR should be merged ASAP
    linalgLinear algebra
    and removed
    linalgLinear algebra
    urgentPR should be merged ASAP
    on Nov 5, 2025
  4. campospinto commented on Dec 17, 2025

    @campospinto
    Collaborator

    Actually this issue is only partially completed. Not all the linear solvers accept a preconditioner for now.

  5. added a commit that references this issue on Dec 17, 2025
    bb76bb1
  6. added a commit that references this issue on Aug 5, 2026
    57e7acd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Next ReleaseMust be in next releaselinalgLinear algebraurgentPR should be merged ASAP

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions