emitterg.h
来自「pic 模拟程序!面向对象」· C头文件 代码 · 共 41 行
H
41 行
//emitterg.h#ifndef __EMITTERG_H#define __EMITTERG_H \#include "part1g.h"#include "dielecg.h"#include "vmaxwelln.h"//=================== EmitterParams Class// base class for all emitting boundaries// abstractclass EmitterParams : public DielectricParams{protected: StringParameter speciesName; // name of species to emit // specify the Maxwellian velocity distribution StringParameter units; ScalarParameter temperature; ScalarParameter v1thermal, v2thermal, v3thermal; ScalarParameter Ucutoff; ScalarParameter v1Ucutoff, v2Ucutoff, v3Ucutoff; ScalarParameter Lcutoff; ScalarParameter v1Lcutoff, v2Lcutoff, v3Lcutoff; ScalarParameter v1drift, v2drift, v3drift; MaxwellianFlux* distribution; // Flux of distribution that will be emitted Species* species; ScalarParameter np2c;public: EmitterParams(GridParams* _GP, SpatialRegionGroup* srg); virtual void checkRules();// virtual Boundary* CreateCounterPart() { return NULL; }; virtual Boundary* CreateCounterPart();};#endif // __EMITTERG_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?