|
inline |
Reinitialise the solver by passing in a new initial vector.
Clears the generated Krylov subspace. You can call solve() now.
References syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::a, syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::b, std::vector< T >::clear(), syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::initial_norm, syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::krylov, std::move(), syten::Krylov::norm(), std::vector< T >::push_back(), SYTEN_ASSERT_MSG, and syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::vec_valid.
Referenced by syten::Krylov::Evolution::fwd_evolve(), and syten::Krylov::Evolution::fwd_evolve_kss().