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

📄 eqpotg.cpp

📁 pic 模拟程序!面向对象
💻 CPP
字号:
//eqpotg.cpp#include "eqpot.h"#include "eqpotg.h"#include "spatialg.h"///\dad{begin}#include "spbound.h"///\dad{end}#ifdef UNIX#include "diags.h"#endif//=================== EquipotentialParams ClassEquipotentialParams::EquipotentialParams(GridParams* _GP,SpatialRegionGroup * srg) : ConductorParams(_GP,srg) {	name = "Equipotential";        VanalyticF.setNameAndDescription("VanalyticF","Voltage on this boundary as a function of spatial location x1, x2");        VanalyticF.setValue("1");        parameterList.add(&VanalyticF);}Boundary* EquipotentialParams::CreateCounterPart(){  Boundary* B = new Equipotential(SP.GetLineSegments(),VanalyticF.getValue());  set_commonParams(B);  return B;}

⌨️ 快捷键说明

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