搜索资源列表
MoNiJiaYouZhanDuiLie
- 模拟加油站队列 某汽车加油站有两台油泵,每台油泵为一辆汽车加油需d分钟(浮点型),现已知此加油站来车率为1/q分钟(q整型),现用计算机模拟此加油站的工作方式,假设模拟时间长度为longtime(整型)分钟,并用步长法模拟,取采样时间间隔为dt(浮点型)分钟。经典的队列问题,可供初学者熟悉队列的操作 运行后输入d,q,longtime,dt(用空格隔开)即可
mpi_wave
- mpi fortran wave equation solver code !cc MAIN is the main program for WAVE_MPI. !c !c Discussion: !c !c WAVE_MPI solves the wave equation in parallel using MPI. !c !c Discretize the equation for u(x,t): !c d^2 u/dt^2 - c^2 * d^2 u