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