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

Add an interface for PETSc SNES #447

Merged
merged 14 commits into from
Jul 3, 2024
Merged

Add an interface for PETSc SNES #447

merged 14 commits into from
Jul 3, 2024

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    65dc03b View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    cc3c878 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    00e7054 View commit details
    Browse the repository at this point in the history
  2. Fix a bug in the SNES wrapper

    This means, that now all PETSc solver options should be able to work
    Also fixes some notational bugs noted with mypy
    sblauth committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    55611a1 View commit details
    Browse the repository at this point in the history
  3. Add test for snes solver

    sblauth committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    840da3c View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Add shift parameter to snes solve (for p-Laplacian)

    Make snes solve the default nonlinear solver for the p-Laplacian projection of the shape gradient
    sblauth committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    540de70 View commit details
    Browse the repository at this point in the history
  2. Add fieldsplit support for snes solver

    Fixes a small bug
    sblauth committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    28760da View commit details
    Browse the repository at this point in the history
  3. Add rtol, atol, max_iter parameters for SNES. New PETSc Exceptions

    Also removes some "inner" parameters from the picard iteration
    sblauth committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    58989f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Add the config parameter "backend" in StateSystem

    This allows users to choose between the "old" backend (custom newton solver implemented by hand) and the
    new PETSc SNES backend.
    The old behavior can be obtained with :ini:`backend = cashocs`, the new one with
    :ini:`backend = petsc`. The default is backend = cashocs for compatibility reasons.
    sblauth committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    2bf3886 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dae3438 View commit details
    Browse the repository at this point in the history
  3. Fix the docs

    Tables were not defined correctly.
    sblauth committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    704802d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d2c006 View commit details
    Browse the repository at this point in the history
  5. Fix some bugs with the docs

    sblauth committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    db61045 View commit details
    Browse the repository at this point in the history
  6. fix docs of snes_solve

    sblauth committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    8ff713e View commit details
    Browse the repository at this point in the history