GridapSolvers.NonlinearSolvers
GridapSolvers.NonlinearSolvers.NLsolveNonlinearSolver
— TypeNLsolveNonlinearSolver <: NonlinearSolver
NLsolveNonlinearSolver(ls::LinearSolver;kwargs...)
NLsolveNonlinearSolver(;kwargs...)
Wrapper for NLsolve.jl
nonlinear solvers. It is equivalent to the wrappers in Gridap, but with support for nonlinear preconditioners. Same kwargs
as in nlsolve
. Due to NLSolve.jl
not using LinearAlgebra's API, these solvers are not compatible with PartitionedArrays.jl
. For parallel computations, use NewtonSolver
instead.
GridapSolvers.NonlinearSolvers.NewtonSolver
— Typestruct NewtonSolver <: Algebra.NonlinearSolver
Newton-Raphson solver. Same as NewtonRaphsonSolver
in Gridap, but with a couple addons:
- Better logging and verbosity control.
- Better convergence criteria.
- Works with geometric LinearSolvers/Preconditioners.