⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errdavidson.h

📁 An object-oriented C++ implementation of Davidson method for finding a few selected extreme eigenpai
💻 H
字号:

#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -