-
4-fft
FFT快速傅里叶变换 采用基4 fft实现的c语言版(FFT Fast Fourier Transform implemented using the base 4 fft c language version)
- 2020-12-16 15:09:13下载
- 积分:1
-
areaofcircle
一圆形游泳池如图所示,现在需在其周围建一圆形过道,并在其四周围上栅栏。
栅栏价格为35元/米,过道造价为20元/平方米。
过道宽度为3米,
游泳池半径由键盘输入。
要求编程计算并输出过道和栅栏的造价。(A circular pool as shown in figure, now in its built around to a circular corridor, and in its 4 around on the fence.
The fence for 35 yuan/m price, corridor cost for 20 yuan/square metre.
Aisle width is 3 meters,
The radius of the swimming pool by keyboard input.
Demand and output programming calculation of corridor and the cost of the fence.
)
- 2012-04-06 11:29:01下载
- 积分:1
-
Optimization
混合储能,风机,光伏,柴油机之间的优化配置的仿真分析程序(Optimize the allocation of mixed storage, wind, solar, diesel between Simulation Software)
- 2016-08-04 10:55:15下载
- 积分:1
-
Simplex method for linear programming
线性规划中的单纯形法的c实现,代码有测试类,(Simplex method for linear programming)
- 2017-08-25 11:03:43下载
- 积分:1
-
dit_fft
本程序包括:DFT(离散傅里叶变换),FFT(快速傅里叶变换),IFFT(快速傅里叶逆变换),conv(卷积:圆周卷积、线性卷积),主要应用于信号处理,既可以对实序列做上述操作,也可以对复序列。(This process includes: DFT (Discrete Fourier Transform), FFT (fast Fourier transform), IFFT (inverse fast Fourier transform), conv (convolution: circular convolution, linear convolution), mainly used signal processing, either on the actual sequence to do the operation, can also be complex sequence.)
- 2010-09-22 21:30:23下载
- 积分:1
-
fortranchap07
Fortran 95程序设计【彭国伦】第7章原代码,非常有学习价值!(Fortran 95 programming [Lun Peng-- Chapter 7 of the original code, the very value of learning!)
- 2006-12-17 19:42:30下载
- 积分:1
-
Generator
这些代码可以用于产生一系列随机数,可以根据需要使用。(These codes can be used to generate a series of random numbers may be used as needed.)
- 2013-07-10 14:19:34下载
- 积分:1
-
cpp
说明: 你输入一个长方体的长和宽以及高,就可以输出他的面积(input height,width,length,output volume)
- 2010-04-11 21:19:10下载
- 积分:1
-
kalmanfileter_c-code
外国人写的卡尔曼滤波器算法的库,可以供大家参考,已经封装好了(kalman library)
- 2012-04-24 10:46:44下载
- 积分:1
-
Euler_DG_Quadrilateral_2D
自己写了一个二维Euler方程的间断有限元程序
上次发了一个三角形单元的程序 因为不是曲边单元 所以在圆柱后面容易形成涡
现在把程序改为曲边四边形单元了 没有涡出现
单元是8节点四边形单元 节点编号顺序是 1 5 2 6 3 7 4 8 也就是四个角点依次
是1 2 3 4 然后是边的中点编号 5 6 7 8.
时间推进采用 Runge-Kutta 方法
数值通量采用全局Lax-Friedrichs通量
仍然不能捕捉激波 因为没有做重构或者加人工粘性 等这个做出来了 再发一次。
程序没有进行优化 比如说内存的消耗没有优化 比如直边单元的边界积分仍然采
用了曲边的积分方法 增加了计算量 比如面积分、线积分都是采用的是Gauss-
Legendre-Lobatto积分 积分精度会比一般的Gauss-Legendre积分精度低一阶 等
等问题。 二维的 纯属交流性质 就没有考虑这些问题 ^_^
如果物面全部是直边 那么只要改变一个参数N 就可以获得不同的计算精度 且具
有谱精度 因为单元的节点是Gauss-Legendre-Lobatto积分点。 其实就是谱元法
(物面是曲边的情况我不清楚是不是也可以通过提高基函数的阶数 也就是增加N
来提高计算精度)(Wrote a two-dimensional Euler equations with discontinuous finite element program
Last made a triangular element of the program, not curved edge unit is so easy to form a vortex in the cylinder behind the
Program to curved edge quadrilateral element vortices appear
Unit is the order of 8-node quadrilateral element node number is 15,263,748 which is the four corners of the points in turn
Is 1234 and then the side of the midpoint of the number 5678.
Time promote the use of Runge-Kutta method
Numerical flux of the overall situation of Lax-Friedrichs, flux
Still can not capture the shock wave did not do the reconstruction or artificial viscosity do it Zaifayici.
The program is not optimized for example, memory consumption is not optimized such as straight-edge boundary integral of the unit is still mining
Integral method to increase the amount of computation such as surface integral with a curved edge, the line integral using the Gauss-
The Legendr)
- 2021-01-29 12:58:40下载
- 积分:1