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

📄 cursrcg.cpp

📁 pic 模拟程序!面向对象
💻 CPP
字号:
//cursrcg.cpp#include "cursrc.h"#include "cursrcg.h"#include "spatialg.h"///\dad{begin}#include "spbound.h"///\dad{end}#ifdef UNIX#include "diags.h"#endif//=================== CurrentSourceParams ClassCurrentSourceParams::CurrentSourceParams(GridParams* _GP,SpatialRegionGroup * srg) : EquipotentialParams(_GP, srg) {	name = "CurrentSource";	Vinitial.setNameAndDescription("Vinitial", "initial voltage of driven electrode");	Vinitial.setValue(ostring("0.0"));	parameterList.add(&Vinitial);}Boundary* CurrentSourceParams::CreateCounterPart(){	Boundary* B = new CurrentSource(SP.GetLineSegments());	((CurrentSource *)B)->setinitV(Vinitial.getValue());	set_commonParams(B);	return B;}

⌨️ 快捷键说明

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