spemitg.cpp

来自「pic 模拟程序!面向对象」· C++ 代码 · 共 27 行

CPP
27 行
字号
#include "spatialg.h"#include "spemitg.h"#include "spemit.h"///\dad{begin}#include "spbound.h"///\dad{end}#ifdef UNIX#include "ptclgrp.h"#include "diags.h"#endif//=================== BeamEmitterParams ClassBoundary* SingleParticleEmitterParams::CreateCounterPart(){	EmitterParams::CreateCounterPart();//sets up distribution and species	MaxwellianFlux *beam = distribution;	Boundary* B =	  new SingleParticleEmitter(u1.getValue(),u2.getValue(),x.getValue(),										 delay.getValue(),beam, I.getValue(),										 SP.GetLineSegments(),										 np2c.getValue(),										 thetadot.getValue());	addSecondaries(B);	return B;}

⌨️ 快捷键说明

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