SyTen

◆ sp_wrapup() [1/2]

template<typename VectorType , typename StreamType >
void syten::Krylov::SolverPolicies::ExponentialFineOverlap::sp_wrapup ( DenseTensor< 2, SDef > const &  projected_mat,
std::vector< VectorType > const &  krylov,
SRDef  initialnorm,
SDef  toffset,
SDef  tbeg,
SDef  dt,
Index  num_points,
std::vector< VectorType > const &  overlapee,
std::vector< StreamType > &  output 
)
inline

Wrap-Up implementation discretizing the timestep dt into num_points smaller timesteps in which overlaps with the vectors stored in 'overlapees' will be computed and streamed into the outstreams stored in the vector 'output'.

This is the overload for multiple 'overlapee' vectors.

Parameters
projected_matprojected Hamiltonian matrix
krylovvector of Krylov vectors
initialnorminitial norm of the input Krylov vector
toffsettime between the initialisation of the Krylov subspace and the current starting point
tbegcurrent starting point
dttime step to slice, starting at tbeg. Evolution occurs from tbeg-toffset, i.e. we add toffset to dt always
num_pointsnumber of points to evaluate, starting at tbeg+dt/num_points and going to tbeg+dt
overlapeevector of vectors with which to evaluate overlaps
outputvector of streams into which we write the results

References syten::abs(), syten::Krylov::SolverPolicies::Exponential::get_coeffs(), syten::imag(), syten::logGd(), syten::Krylov::overlap(), syten::real(), std::round(), std::scientific(), std::setprecision(), std::showpos(), and std::vector< T >::size().

+ Here is the call graph for this function: