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

📄 fieldemi.h

📁 pic 模拟程序!面向对象
💻 H
字号:
/*====================================================================FIELDEMI.H	Class representing a conductor which emits particles if the	surface electric field is sufficiently large.0.99	(NTG 12-30-93) Separated into individual module from pic.h.0.991	(JohnV, BillP 03-11-94)	Refine algorithm for emission in		x1-direction only.  Fix random seed for proper particle		distribution.0.995 (JohnV 01-29-95) Add Species capability.====================================================================*/#ifndef	__FIELDEMI_H#define	__FIELDEMI_H#include "emitter.h"#include "vmaxwelln.h"#include <oops.h>class FieldEmitter : public Emitter{	Scalar threshold;	BOOL emitFlag;	Scalar const1;								// constants for computing Jemit   Grid* grid;public:	FieldEmitter(oopicList <LineSegment> *segments, Species* s,		Scalar np2c, Scalar thresholdE);	ParticleList& emit(Scalar t, Scalar dt, Species* species) throw(Oops);};class FieldEmitter2 : public Emitter{	Scalar threshold;	BOOL emitFlag;	BOOL init;	int emitDirection;	Scalar delta;   Grid* grid;	Scalar **rho;	MaxwellianFlux *maxwellian;public:	FieldEmitter2(oopicList <LineSegment> *segments, Species* s,						  Scalar np2c, Scalar thresholdE, MaxwellianFlux *m);	ParticleList& emit(Scalar t, Scalar dt, Species* species);	void initialize();};#endif	//	ifndef __FIELDEMI_H

⌨️ 快捷键说明

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