davidson_save.h

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

H
38
字号
//---------------------------------------------------------------------------
#ifndef davidson_saveH
#define davidson_saveH

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


class Davidson_save
{
	private :

       // Saves resultes of calculations to files (for 1D, 2D and 3D problems)
       void SaveCor1D(const GridParam &, Davidson &, ntyp,
       				  ofstream &, ofstream &, ntyp);  //1D
       void SaveCor2D(const GridParam &, Davidson &, ntyp,       				  ofstream &, ofstream &, ntyp);  //2D       void SaveCor3D(const GridParam &, Davidson &, ntyp,       				  ofstream &, ofstream &, ntyp);  //3D
    public :

        /* 	No. of argument:
    			1	-	table char type includes path to directory where
        				have be save files of resultes
        		2	-	a object GridParam class
        		3	-	a object Davidson class
        		4	-	if true then eigenvectors need to be normalized */
    	Davidson_save(char *, const ntyp &, const ftyp &, const ftyp &,
        			  const ftyp &, const ftyp &, const GridParam &,
                      Davidson &, ntyp);
};

//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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