📄 physics.cpp
字号:
#ifdef HAVE_CONFIG_H#include <config.h>#endif#if defined(_MSC_VER)#include <iomanip>#include <iostream>using std::ends;#else#include <txc_streams.h>#include <stdlib.h>using namespace std;#endif#include <cmath>#include <oopiclist.h>#include <plsmadev.h>#include <sptlrgn.h>#include <ptclgrp.h>//global variables!extern PlasmaDevice *theDevice;extern SpatialRegion *theSpace;extern int electrostaticFlag;Scalar dt;// sim_time has to be double b/c of the GUIdouble simulation_time = 0;void Physics(void){ if (theDevice) simulation_time = theDevice->AdvancePIC();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -