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::change_tree_state(), madness::check_linear_dependence(), madness::compressed, madness::copy(), madness::NonlinearSolverND< NDIM >::do_print, madness::Function< T, NDIM >::gaxpy(), madness::inner(), madness::KAIN(), madness::NonlinearSolverND< NDIM >::maxsub, madness::nonlinear_vector_solver(), madness::print(), madness::NonlinearSolverND< NDIM >::Q, madness::reconstructed, madness::NonlinearSolverND< NDIM >::rlist, madness::Function< T, NDIM >::size(), madness::TT_FULL, u(), and madness::NonlinearSolverND< NDIM >::ulist.
Referenced by GygiPot::ESP(), iterate_excite(), iterate_excite(), iterate_ground(), iterate_ground(), madness::CC2::iterate_pair(), main(), SurfaceMoleculeInteraction::perturbed_molecular_pot(), SVPESolver::solve(), and madness::MP2::solve_residual_equations().