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

Complex-proxy scripts for the nonlinear shallow water equations #185

Merged
merged 17 commits into from
May 14, 2024

Conversation

JHopeCollins
Copy link
Member

@JHopeCollins JHopeCollins commented Apr 22, 2024

Add a script to test out preconditioners for the nonlinear shallow water equation blocks using the complex proxy module. The complex-proxy blocks are built by loading up a shallow water checkpoint file and linearising around this state.
The script takes a value for Nt, dt, alpha, etc and tests the preconditioner on all the resulting eigenvalue pairs with random right hand side. Six preconditioners are currently available:

  1. A direct solve
  2. Patch multigrid
  3. The linear operator solved with LU
  4. The linear operator solved with hybridisation
  5. Schur factorisation where the complement is preconditioned by the schur complement of the linear operator
  6. Composite preconditioning with a single-level patch smoother and the linear operator.

@JHopeCollins JHopeCollins self-assigned this Apr 22, 2024
@JHopeCollins JHopeCollins marked this pull request as draft April 22, 2024 16:36
@JHopeCollins JHopeCollins marked this pull request as ready for review May 3, 2024 11:32
@JHopeCollins JHopeCollins added the Examples Example test cases / useage label May 3, 2024
@JHopeCollins JHopeCollins requested a review from colinjcotter May 3, 2024 11:37
@JHopeCollins JHopeCollins mentioned this pull request May 3, 2024
4 tasks
@JHopeCollins JHopeCollins merged commit b98e655 into master May 14, 2024
1 check passed
@JHopeCollins JHopeCollins deleted the swe_cpx_scripts branch May 14, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Examples Example test cases / useage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants