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

Including PETSc4py as linear solver #362

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Including PETSc4py as linear solver #362

wants to merge 29 commits into from

Conversation

enricofacca
Copy link
Collaborator

The linear algebra operations required for solving the optimal transport problem via finite volume are solved via PETSc and its python interfaces.

  • The linalg module has a new class to access the PETSc utilities.
  • Lagrange multiplier for fixing the pressure is removed by passing the kernel of the jacobian to KSP solver.
  • Reduction from the the full jacobian to the reduced system is done via fieldsplit preconditioners.
  • AMG is removed since hypre is available via PETSc and seems way faster.
  • Direct sparse solver based on MUMPS is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant