📄 portgaussg.h
字号:
//eportg.h#ifndef __PORTGAUSSG_H#define __PORTGAUSSG_H \#include "part1g.h"#include "portg.h"//=================== PortGaussParams Class// Gauss Port boundaryclass PortGaussParams : public PortParams { public: ScalarParameter offset; /* offset from the center */ PortGaussParams(GridParams* _GP, SpatialRegionGroup* srg) : PortParams(_GP, srg) { name = "PortGauss"; offset.setNameAndDescription(ostring("offset"),ostring("Offset from the center of the simulation, + or -, in MKS, for the peak")); offset.setValue("0"); parameterList.add(&offset); } Boundary* CreateCounterPart();};#endif // __PORTGAUSSG_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -