Multilevel
Solve
CommonSolve.solve — Function
CommonSolve.solve(args...; kwargs...)Solves an equation or other mathematical problem using the algorithm specified in the arguments. Generally, the interface is:
CommonSolve.solve(prob::ProblemType, alg::SolverType; kwargs...)::SolutionTypewhere the keyword arguments are uniform across all choices of algorithms.
By default, solve defaults to using solve! on the iterator form, i.e.:
solve(args...; kwargs...) = solve!(init(args...; kwargs...))solve(A, b, dhh, chh, config; pcoarse_solver, kwargs...)Solve Ax = b using polynomial multigrid given a pre-built DofHandlerHierarchy / ConstraintHandlerHierarchy. kwargs are forwarded to both the multigrid setup and the iterative solve (e.g. maxiter, reltol, log).
solve(A, b, gh, dhh, chh, config; pcoarse_solver, kwargs...)High-level geometric multigrid solve for Ax = b. kwargs are forwarded to the iterative solve (e.g. maxiter, reltol, log).