errdavidson.h

来自「An object-oriented C++ implementation of」· C头文件 代码 · 共 45 行

H
45
字号

#ifndef ErrDavidsonH
#define ErrDavidsonH

#include "../davidson/defaulttd.h"

class ErrDavidson
{
    private :
        /* A no_err can accept following values:

				1 : "Dimension of matrix A is smaller from maximuma "
					"size of base (N<LIM)";
				2 : "The maximum dimension of base is smaller from 1(LIM < 1)";
				4 : "Lack indices eigenpair for determining (ISELECT[0] < 1)";
				8 : "The maximum number of eigenpair for determining is larger "
					"from dimensions of matrix A (IHIGH > N)";
				16 : "The maximum number of eigenpair for determining is "
            		 "smaller from minimum number eigenpair for determining "
                     "(IHIGH < ILOQ)";
				32 : "It is determined too much number of eigenpairs (K > LIM)";
				64 : "It is determined two or more once the same eigenpairs "
                	 "(ISELECT[i]=ISELECT[j], i<>j)";
				128 : "NUME > LIM";
				256 : "Inappropriate value of MBLOCK";
				512 : "Too small value of IWRSZ or IIWSZ";
				1024 : "Orthogonalization failured";
				2048 : "It is reached the maximum number of iterations";
				-k : "Error in DSPEVX procedure (k eigenpairs
        			      not converged)"; */
        ntyp no_err;

    public :

        // The constructor class as an argument acceptes number of error
        ErrDavidson(const ntyp &);

        // A public method char *Message() to make possibles
        // displays descriptions of error
        char *Message();
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?