interfacegrids_gene.py 文件源码

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

项目:tango 作者: LLNL 项目源码 文件源码
def map_profile_onto_turb_grid(self, profileTango):
        """Since Tango's domain is larger than GENE's in both directions, we can use a simple interpolating spline to 
        resample the profile on GENE's grid.
        """
        interpolate = scipy.interpolate.InterpolatedUnivariateSpline(self.psiTango, profileTango)
        profileGene = interpolate(self.psiGene)
        return profileGene
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号