diags.h

来自「pic 模拟程序!面向对象」· C头文件 代码 · 共 44 行

H
44 行
字号
//diags.h#ifndef DIAGS_H#define DIAGS_H#ifdef HAVE_CONFIG_H#include <config.h>#endif#include <txc_streams.h>#include "part1g.h"#include "spatialg.h"class DiagnosticParams : public ParameterGroup{protected: GridParams* GP; IntParameter j1; IntParameter k1;public:	  DiagnosticParams();	  DiagnosticParams(GridParams* _GP);	  //  since diagnostics are all placed on grid, this class needs	  //  to know the dimensions of the grid	  virtual ~DiagnosticParams() {};	  void setGrid(GridParams* _GP)		{GP = _GP;}	  virtual void checkRules();	  // checks all rules associated with the class	  virtual void describe() {};      virtual void writeOutputFile(TXSTRSTD::ofstream &fout) { }	  //  writes to file	// needed by geometry editor};#endif // DIAGS_H

⌨️ 快捷键说明

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