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

📄 gridprob.h

📁 pic 模拟程序!面向对象
💻 H
字号:
/*====================================================================GRDPROB.He.g., point, line probes that live on the grid1.01	(KC, 9-21-95) After release. First draft.====================================================================*/#ifndef	__GRDPROBES_H#define	__GRDPROBES_H#define MaxDiags 3#define MaxLen 80#include <stdio.h>#include	"ovector.h"#include "ostring.h"#include "misc.h"#include "newdiag.h"#include "history.h"//class ostring;//#ifdef UNIXextern "C" {void XGWrite(void *,int,int,FILE *,char *);void XGRead(void *,int,int,FILE *,char *);}//#endif//--------------------------------------------------------------------class GridProbes : public Diag{protected:	Scalar** VarPtr;  // pointer to the var that will be plotted	Scalar* dVarPtr; // the d whatever	Scalar Stuff;	Scalar* FTVarPtr; // pointer to FT of VarPtr//	History* history;	Scalar* x_array;	Grid* grid;	int size, Space_fft, Integrate, Chose_Later;	ostring integral, VarName;//	int init;	void Chose_VarPtr();	public:	GridProbes(SpatialRegion* SR, int j1, int k1, int j2, int k2, 						 int nfft, int HistMax, 						 int Ave, int Comb, ostring VarName, ostring diagXLabel, 						 ostring diagYLabel, ostring diagZLabel, ostring diagLabel,						 int save,						 ostring integral);	virtual ~GridProbes();//	virtual int Restore(FILE *DMPFile, int j1, int k1, int j2, int k2, ostring title);//	virtual int Dump(FILE *DMPFile);//	virtual void PreChooseVar()=0;	virtual void MaintainDiag(Scalar t);	virtual void initwin();	virtual void FFT();	BOOL	alongx1() {return (k1 == k2) ? TRUE : FALSE;} // boundary lies along x1	BOOL	alongx2() {return (j1 == j2) ? TRUE : FALSE;}};#endif	//	ifndef __GRDPROBES_H

⌨️ 快捷键说明

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