• 大小: 0.45M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-28
  • 语言: 其他
  • 标签: 其他  

资源简介


利用5阶精度的WENO方法求解欧拉方程,里面有源代码和说明文档,具体可参考论文Efficient Implementation of Weighted ENO Schemes。-The use of 5-order accuracy of the WENO method for solving Euler equations, which source code and documentation, specific reference papers Efficient Implementation of Weighted ENO Schemes.

资源截图

代码片段和文件信息

/*
   Matrix Inversion using
   LU Decomposition from
   Numerical Recipes in C
   Chapter 2
*/
#include 
#include 
#include 
#define   TINY 1.0e-20
void inverse(double**int);
void ludcmp(double** int int* double*);
void lubksb(double** int int* double*);
double **matrix(intintintint);
double *vector(intint);
void  free_matrix(double**intintintint);
void  free_vector(double*intint);
void inverse(double **mat int dim)
{
int ij*indx;
double **yd*col;
y = matrix(0dim-10dim-1);
indx = (int *)malloc((unsigned)(dim*sizeof(int)));
col = vector(0dim-1);
ludcmp(matdimindx&d);
for (j=0;j {
for (i=0;i col[j] = 1.0;
lubksb(matdimindxcol);
for (i=0;i }
for (i=0;i for (j=0;j mat[i][j] = y[i][j];
free_matrix(y0dim-10dim-1);
free_vector(col0dim-1);
free(indx);
}
void ludcmp(double **a int n int *

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      62976  2005-01-18 16:55  WENO&ENO程序\WENO程序说明文档.doc

     文件     449536  2004-07-19 21:50  WENO&ENO程序\迎风型WENO格式.doc

     文件       7588  2005-01-14 16:40  WENO&ENO程序\WENO\RT\RT.h

     文件     109568  2005-01-09 09:36  WENO&ENO程序\WENO\RT\RT.ncb

     文件        897  2005-01-08 19:06  WENO&ENO程序\WENO\RT\RT.sln

    ..A..H.     11776  2005-01-09 09:36  WENO&ENO程序\WENO\RT\RT.suo

     文件       3403  2005-01-08 15:43  WENO&ENO程序\WENO\RT\RT.vcproj

     文件        935  2005-01-09 14:24  WENO&ENO程序\WENO\RT\Work.cpp

     文件         38  2005-01-08 18:29  WENO&ENO程序\WENO\RT\Release\bc_uniformity.txt

     文件       6039  2005-01-18 16:02  WENO&ENO程序\WENO\Riemann\Riemann.h

     文件     109568  2005-01-10 08:05  WENO&ENO程序\WENO\Riemann\Riemann.ncb

     文件        907  2005-01-09 10:15  WENO&ENO程序\WENO\Riemann\Riemann.sln

    ..A..H.     12288  2005-01-10 08:05  WENO&ENO程序\WENO\Riemann\Riemann.suo

     文件       3373  2004-12-14 10:58  WENO&ENO程序\WENO\Riemann\Riemann.vcproj

     文件       1249  2005-01-08 15:27  WENO&ENO程序\WENO\Riemann\Work.cpp

     文件       7689  2005-01-14 16:41  WENO&ENO程序\WENO\Reflection\DMR_Reflection.h

     文件       6841  2005-01-14 16:41  WENO&ENO程序\WENO\Reflection\Reflection.h

     文件     117760  2005-01-10 08:04  WENO&ENO程序\WENO\Reflection\Reflection.ncb

     文件        913  2005-01-09 14:56  WENO&ENO程序\WENO\Reflection\Reflection.sln

    ..A..H.     11776  2005-01-10 08:04  WENO&ENO程序\WENO\Reflection\Reflection.suo

     文件       3385  2005-01-09 14:45  WENO&ENO程序\WENO\Reflection\Reflection.vcproj

     文件       1316  2005-01-09 14:32  WENO&ENO程序\WENO\Reflection\Work.cpp

     文件         96  2005-01-09 14:50  WENO&ENO程序\WENO\Reflection\Release\bc_uniformity.txt

     文件      12762  2005-01-14 19:25  WENO&ENO程序\WENO\DMR\DMR.h

     文件     109568  2005-01-10 08:04  WENO&ENO程序\WENO\DMR\DMR.ncb

     文件        899  2005-01-09 10:33  WENO&ENO程序\WENO\DMR\DMR.sln

    ..A..H.     10752  2005-01-10 08:04  WENO&ENO程序\WENO\DMR\DMR.suo

     文件       3408  2004-12-15 19:51  WENO&ENO程序\WENO\DMR\DMR.vcproj

     文件       7813  2005-01-14 16:42  WENO&ENO程序\WENO\DMR\Reflection.h

     文件       1244  2005-01-09 14:06  WENO&ENO程序\WENO\DMR\Work.cpp

............此处省略35个文件信息

评论

共有 条评论