template<size_t NDIM>
class madness::NonlinearSolverND< NDIM >
A simple Krylov-subspace nonlinear equation solver.
Computes next trial solution vector.
You are responsible for performing step restriction or line search (not necessary for linear problems).
- Parameters
-
u | Current solution vector |
r | Corresponding residual |
- Returns
- Next trial solution vector
- Parameters
-
[in] | rcondtol | rcond less than this will cause the subspace to be shrunk due to linear dependence |
[in] | cabsmax | maximum element of c greater than this will cause the subspace to be shrunk due to linear dependence |
References c, madness::check_linear_dependence(), madness::Function< T, NDIM >::compress(), madness::copy(), madness::Function< T, NDIM >::gaxpy(), madness::inner(), madness::KAIN(), madness::print(), madness::Function< T, NDIM >::size(), madness::Function< T, NDIM >::truncate(), and madness::Function< T, NDIM >::world().
Referenced by DFTSolventSolver::ESP(), iterate_excite(), iterate_ground(), main(), ScreenSolventPotential::ScreenReactionPotential(), SVPEColloidSolver::solve(), and SVPEColloidSolver::solve_Laplace().