pyPPPETM.py 文件源码

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

项目:Parallel.GAMIT 作者: demiangomez 项目源码 文件源码
def LoadParameters(self, C):

        s = 0
        for jump in self.table:
            if not jump.type is None:
                if jump.params == 1 and jump.T != 0:
                    jump.a = np.append(jump.a, C[s:s + 1])

                elif jump.params == 1 and jump.T == 0:
                    jump.b = np.append(jump.b, C[s:s + 1])

                elif jump.params == 2:
                    jump.b = np.append(jump.b, C[s:s + 1])
                    jump.a = np.append(jump.a, C[s + 1:s + 2])

                s = s + jump.params
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号