Multilevel

Solve

CommonSolve.solveFunction
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...)::SolutionType

where 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...))
source
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).

source
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).

source