📄 varloadg.h
字号:
//varloadg.h#ifndef __VARLOADG_H#define __VARLOADG_H#include "varload.h"#include "loadg.h"class SpatialRegionGroup;//==================== VarWeightLoadParams Class// class for t=0 loading, with variable weighting of particles,// such that macroparticles are uniformly distributed in radiusclass VarWeightLoadParams : public LoadParams{ public: // since boundaries are all placed on grid, this class needs // to know the dimensions of the grid VarWeightLoadParams(SpatialRegionGroup* srg) : LoadParams(srg) { name = "VarWeightLoad"; } virtual ~VarWeightLoadParams() {}; virtual Load* CreateCounterPart(SpatialRegion* region) throw(Oops);}; #endif // ifndef __VARLOADG_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -