20 #ifndef CONJUGATEGRADIENT_CHEMPS2_H 21 #define CONJUGATEGRADIENT_CHEMPS2_H 46 ConjugateGradient(
const int veclength_in,
const double RTOL_in,
const double DIAG_CUTOFF_in,
const bool print_in);
54 char step(
double ** pointers );
88 double inprod(
double * vector );
89 double inprod(
double * vector,
double * othervector );
90 void apply_precon(
double * vector );
91 void apply_precon(
double * vector,
double * result );
char step(double **pointers)
The iterator to converge the ground state vector.
int get_num_matvec() const
Get the number of matrix vector multiplications which have been performed.
virtual ~ConjugateGradient()
Destructor.
ConjugateGradient(const int veclength_in, const double RTOL_in, const double DIAG_CUTOFF_in, const bool print_in)
Constructor.