SyTen

◆ reinit()

template<typename Matrix , typename Vector , typename OrthoPolicy , typename SolverPolicy >
void syten::Krylov::Standard< Matrix, Vector, OrthoPolicy, SolverPolicy >::reinit ( Vector &&  initial_)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: