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:
A direct solve
Patch multigrid
The linear operator solved with LU
The linear operator solved with hybridisation
Schur factorisation where the complement is preconditioned by the schur complement of the linear operator
Composite preconditioning with a single-level patch smoother and the linear operator.
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: