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

📄 cogengrid.hxx

📁 有限元学习研究用源代码(老外的),供科研人员参考
💻 HXX
字号:
#ifndef cogengrid_hxx
#define cogengrid_hxx

#ifndef cogenerator_hxx
#include "cogenerator.hxx"
#endif

class CogenGrid;
typedef wzProxy<CogenGrid> cogenGrid;


class CogenGrid
  :public Cogenerator,
   public Cogeometry
{
  wzgrid grid;
  wzFloat epsilon1;
  wzFloat epsilon2;
  wzFloat epsilon3;
  wzIndex lastCellUsed;
public:
  CogenGrid(wzgrid g):grid(g),lastCellUsed(0){;}
  virtual cogenGrid cogengrid();
  void setGrid(wzgrid grid1) {grid=grid1;lastCellUsed=0;}
  cogeometry	geometry() const {return (Cogeometry*) this;}
  virtual void setDelta(cogFloat delta);
  //  virtual wzFloat 	chi(const wzPoint& p) const;
  //  virtual wzpoints	generatePoints(cogeometry g,wzmetric r) const;
  virtual wzIndex	Point(wzPoint& p0) const;
  virtual wzIndex	Line (cogFlag1& f, const cogLine& s) const;
  //  virtual wzIndex 	BoundaryCondition(cogFlag1& f) const;
};
#endif

⌨️ 快捷键说明

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