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

📄 iloop.h

📁 pic 模拟程序!面向对象
💻 H
字号:
/*====================================================================ILOOP.H	This causes a loop of current to be in the simulation.  Itis useful as an external source for input.	0.90 (PeterM 04-16-96) Inception.====================================================================*/#ifndef	__ILOOP_H#define	__ILOOP_H#include	"ovector.h"#include "misc.h"#include "port.h"class Iloop : public Port{	Scalar I;protected:public:	Iloop(oopicList <LineSegment> *segments,Scalar _II) : 		Port(segments)			{				I=_II;				BoundaryType=ILOOP;			};//	virtual ParticleList&	emit(Scalar t,Scalar dt) {return ;};	virtual void setPassives() {};	virtual void applyFields(Scalar t,Scalar dt) {};	virtual void putCharge_and_Current(Scalar t);	virtual void setBoundaryMask(Grid &grid){};};#endif	//	ifndef __ILOOP_H

⌨️ 快捷键说明

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