摘要: 记录一些日常遇到的感觉比较有意思的用法。 1. a[0:] means all elements of list a, while a[0:-1] means all but the last one elements. 2. a = np.zeros(2,4), then: a[:][0]=a[0 阅读全文
posted @ 2017-03-21 23:54 zjyx 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 以Ammonia (N4H12) 为例。 第一步: 松弛结构/ Geometry Optimization Input: 然后Run pw.x: PBS file: 第二步: 写好用来构建超胞用的单胞/Prepare unit cell file for supercell building 这一步 阅读全文
posted @ 2017-03-21 03:10 zjyx 阅读(3931) 评论(0) 推荐(0) 编辑