def __init__(self,tp,d):
self.L0 = g*pow(tp,2)/(2*pi)
while True:
self.L = self.L0 #inititate self.L
self.LIteration = 0 #inititate self.LIteration
while abs(self.L-self.LIteration)>0.0001:
self.LIteration = self.L
self.L = self.L0 * math.tanh(2*math.pi*d/self.LIteration)
break
outfall_rockdesign.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录