Hull.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Ship 作者: jarlekramer 项目源码 文件源码
def necessaryDriftAngle(self, U, Fy, scale=1):
        alpha_test = np.linspace(0, np.max(self.alpha), 5)

        Fx_test, Fy_test, Mz_test = self.driftInducedForces(U, alpha_test, scale=scale)

        alpha_spline = interpolate.splrep(Fy_test, alpha_test)

        return interpolate.splev(Fy, alpha_spline)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号