This article presents how to solve Josephus problem by cycle linked list and heap memory method in c++, and expounds the superiority of this method to that of the array.
利用C++中的堆内存原理,采用循环链表方法很好地解决了约瑟芬问题,并阐述了此方法与数组方法相比的优越性。
The swimming pool reactor with planar fuel assembly was studied with the computational fluid dynamics program CFX5, and the flow field in reactor was numerically simulated.
以板型燃料组件池式反应堆为研究对象,采用计算流体动力学程序CFX5对堆内流场进行了数值模拟,结果表明:流过堆芯燃料组件的流速较大,在燃料组件出口位置流速达到最大值;无论是否带有围桶,堆内压降均主要集中在堆芯燃料组件上,入口流量增大,堆芯燃料组件上的压降随之增加;堆芯上部腔室和下部腔室的压力变化很小;在相同的入口流量下,带与不带围桶的堆芯进出口差压非常接近。
Copyright © 2022-2024 汉字大全www.hanzidaquan.com All Rights Reserved 浙ICP备20019715号