SyTen

◆ sp_wrapup()

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,
VectorType const &  overlapee,
StreamType &  output 
)
inline

Wrap-Up implementation which discretises the current timestep dt into num_points steps and evaluates the overlap with the vector overlapee at each of those steps.

In particular useful for Green’s function calculations.

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 with which to evaluate overlaps
outputstream 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: