亚音速-超音速等熵流动 守恒型 C++代码
#include <iostream>#include <fstream>#include <math.h>using namespace std;const int N=31; //节点数double dx=0.1; //网格间距double x[N];double dt[N],dt_min;int timestep=1400;double A[N];double r=1.4; //比热比double C