00001 #ifndef EIGVALSOL_H 00002 #define EIGVALSOL_H 00003 00004 #include <stdio.h> 00005 #include "alias.h" 00006 #include "galias.h" 00007 #include "iotools.h" 00008 00009 /** 00010 class eigvalsol defines solver of eigenvalues and eigenvectors 00011 00012 JK, 20.8.2005 00013 */ 00014 00015 class eigvalsol 00016 { 00017 public: 00018 00019 eigvalsol (void); 00020 ~eigvalsol (void); 00021 void read (XFILE *in); 00022 void print (FILE *out); 00023 00024 00025 /// type of solver of eigenvalues and eigenvectors 00026 eigensolver teigsol; 00027 00028 /// number of required eigenvectors 00029 long neigv; 00030 /// number of vectors used in computation 00031 long nev; 00032 /// maximum number of iterations 00033 long nies; 00034 /// number of performed iterations 00035 long anies; 00036 /// required error 00037 double erres; 00038 /// attained error 00039 double aerres; 00040 /// maximum number of iteration in Jacobi' method 00041 long nijmr; 00042 /// number of thresholds in Jacobi' method 00043 long njacthr; 00044 /// array containing thresholds in Jacobi' method 00045 double *jacthr; 00046 00047 /// shift 00048 double shift; 00049 00050 }; 00051 00052 00053 #endif