phono3py 3.3.2__tar.gz → 3.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. {phono3py-3.3.2 → phono3py-3.3.4}/PKG-INFO +1 -1
  2. phono3py-3.3.4/example/AlN-LDA/FORCES_FC3.xz +0 -0
  3. phono3py-3.3.4/example/AlN-LDA/README.md +69 -0
  4. {phono3py-3.3.2 → phono3py-3.3.4}/example/NaCl-alm/README.md +1 -1
  5. phono3py-3.3.4/example/NaCl-rd/README.md +80 -0
  6. phono3py-3.3.4/example/NaCl-rd/phono3py_params_NaCl.yaml.xz +0 -0
  7. phono3py-3.3.4/example/NaCl-rd/vasprun_xmls.tar.xz +0 -0
  8. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/README +1 -1
  9. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-LDA/README.md +4 -4
  10. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBE/README.md +4 -4
  11. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/README.md +6 -6
  12. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-QE/README.md +4 -4
  13. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/_version.py +2 -2
  14. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/api_phono3py.py +7 -4
  15. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/create_force_constants.py +116 -137
  16. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/create_force_sets.py +7 -2
  17. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/create_supercells.py +13 -0
  18. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/load.py +46 -19
  19. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/phono3py_argparse.py +8 -7
  20. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/phono3py_script.py +92 -34
  21. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/settings.py +1 -0
  22. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/show_log.py +19 -8
  23. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/file_IO.py +57 -20
  24. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/interface/phono3py_yaml.py +27 -3
  25. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/version.py +1 -1
  26. phono3py-3.3.2/example/AlN-LDA/FORCES_FC3.lzma +0 -0
  27. phono3py-3.3.2/example/AlN-LDA/README.md +0 -65
  28. {phono3py-3.3.2 → phono3py-3.3.4}/CMakeLists.txt +0 -0
  29. {phono3py-3.3.2 → phono3py-3.3.4}/LICENSE +0 -0
  30. {phono3py-3.3.2 → phono3py-3.3.4}/README.md +0 -0
  31. {phono3py-3.3.2 → phono3py-3.3.4}/c/_phono3py.c +0 -0
  32. {phono3py-3.3.2 → phono3py-3.3.4}/c/_phono3py.cpp +0 -0
  33. {phono3py-3.3.2 → phono3py-3.3.4}/c/_phononcalc.c +0 -0
  34. {phono3py-3.3.2 → phono3py-3.3.4}/c/_phononcalc.cpp +0 -0
  35. {phono3py-3.3.2 → phono3py-3.3.4}/c/_recgrid.cpp +0 -0
  36. {phono3py-3.3.2 → phono3py-3.3.4}/c/bzgrid.c +0 -0
  37. {phono3py-3.3.2 → phono3py-3.3.4}/c/bzgrid.h +0 -0
  38. {phono3py-3.3.2 → phono3py-3.3.4}/c/collision_matrix.c +0 -0
  39. {phono3py-3.3.2 → phono3py-3.3.4}/c/collision_matrix.h +0 -0
  40. {phono3py-3.3.2 → phono3py-3.3.4}/c/dynmat.c +0 -0
  41. {phono3py-3.3.2 → phono3py-3.3.4}/c/dynmat.h +0 -0
  42. {phono3py-3.3.2 → phono3py-3.3.4}/c/fc3.c +0 -0
  43. {phono3py-3.3.2 → phono3py-3.3.4}/c/fc3.h +0 -0
  44. {phono3py-3.3.2 → phono3py-3.3.4}/c/funcs.c +0 -0
  45. {phono3py-3.3.2 → phono3py-3.3.4}/c/funcs.h +0 -0
  46. {phono3py-3.3.2 → phono3py-3.3.4}/c/grgrid.c +0 -0
  47. {phono3py-3.3.2 → phono3py-3.3.4}/c/grgrid.h +0 -0
  48. {phono3py-3.3.2 → phono3py-3.3.4}/c/gridsys.c +0 -0
  49. {phono3py-3.3.2 → phono3py-3.3.4}/c/gridsys.h +0 -0
  50. {phono3py-3.3.2 → phono3py-3.3.4}/c/imag_self_energy_with_g.c +0 -0
  51. {phono3py-3.3.2 → phono3py-3.3.4}/c/imag_self_energy_with_g.h +0 -0
  52. {phono3py-3.3.2 → phono3py-3.3.4}/c/interaction.c +0 -0
  53. {phono3py-3.3.2 → phono3py-3.3.4}/c/interaction.h +0 -0
  54. {phono3py-3.3.2 → phono3py-3.3.4}/c/isotope.c +0 -0
  55. {phono3py-3.3.2 → phono3py-3.3.4}/c/isotope.h +0 -0
  56. {phono3py-3.3.2 → phono3py-3.3.4}/c/lagrid.c +0 -0
  57. {phono3py-3.3.2 → phono3py-3.3.4}/c/lagrid.h +0 -0
  58. {phono3py-3.3.2 → phono3py-3.3.4}/c/lapack_wrapper.c +0 -0
  59. {phono3py-3.3.2 → phono3py-3.3.4}/c/lapack_wrapper.h +0 -0
  60. {phono3py-3.3.2 → phono3py-3.3.4}/c/niggli.c +0 -0
  61. {phono3py-3.3.2 → phono3py-3.3.4}/c/niggli.h +0 -0
  62. {phono3py-3.3.2 → phono3py-3.3.4}/c/phono3py.c +0 -0
  63. {phono3py-3.3.2 → phono3py-3.3.4}/c/phono3py.h +0 -0
  64. {phono3py-3.3.2 → phono3py-3.3.4}/c/phonoc_array.h +0 -0
  65. {phono3py-3.3.2 → phono3py-3.3.4}/c/phonoc_const.h +0 -0
  66. {phono3py-3.3.2 → phono3py-3.3.4}/c/phonon.c +0 -0
  67. {phono3py-3.3.2 → phono3py-3.3.4}/c/phonon.h +0 -0
  68. {phono3py-3.3.2 → phono3py-3.3.4}/c/phononcalc.c +0 -0
  69. {phono3py-3.3.2 → phono3py-3.3.4}/c/phononcalc.h +0 -0
  70. {phono3py-3.3.2 → phono3py-3.3.4}/c/pp_collision.c +0 -0
  71. {phono3py-3.3.2 → phono3py-3.3.4}/c/pp_collision.h +0 -0
  72. {phono3py-3.3.2 → phono3py-3.3.4}/c/real_self_energy.c +0 -0
  73. {phono3py-3.3.2 → phono3py-3.3.4}/c/real_self_energy.h +0 -0
  74. {phono3py-3.3.2 → phono3py-3.3.4}/c/real_to_reciprocal.c +0 -0
  75. {phono3py-3.3.2 → phono3py-3.3.4}/c/real_to_reciprocal.h +0 -0
  76. {phono3py-3.3.2 → phono3py-3.3.4}/c/recgrid.c +0 -0
  77. {phono3py-3.3.2 → phono3py-3.3.4}/c/recgrid.h +0 -0
  78. {phono3py-3.3.2 → phono3py-3.3.4}/c/reciprocal_to_normal.c +0 -0
  79. {phono3py-3.3.2 → phono3py-3.3.4}/c/reciprocal_to_normal.h +0 -0
  80. {phono3py-3.3.2 → phono3py-3.3.4}/c/snf3x3.c +0 -0
  81. {phono3py-3.3.2 → phono3py-3.3.4}/c/snf3x3.h +0 -0
  82. {phono3py-3.3.2 → phono3py-3.3.4}/c/tetrahedron_method.c +0 -0
  83. {phono3py-3.3.2 → phono3py-3.3.4}/c/tetrahedron_method.h +0 -0
  84. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet.c +0 -0
  85. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet.h +0 -0
  86. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet_grid.c +0 -0
  87. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet_grid.h +0 -0
  88. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet_iw.c +0 -0
  89. {phono3py-3.3.2 → phono3py-3.3.4}/c/triplet_iw.h +0 -0
  90. {phono3py-3.3.2 → phono3py-3.3.4}/ctest/CMakeLists.txt +0 -0
  91. {phono3py-3.3.2 → phono3py-3.3.4}/ctest/README.md +0 -0
  92. {phono3py-3.3.2 → phono3py-3.3.4}/ctest/fortran/CMakeLists.txt +0 -0
  93. {phono3py-3.3.2 → phono3py-3.3.4}/ctest/fortran/gridsysf/CMakeLists.txt +0 -0
  94. {phono3py-3.3.2 → phono3py-3.3.4}/doc/README.md +0 -0
  95. {phono3py-3.3.2 → phono3py-3.3.4}/example/AlN-LDA/BORN +0 -0
  96. {phono3py-3.3.2 → phono3py-3.3.4}/example/AlN-LDA/FORCES_FC2 +0 -0
  97. {phono3py-3.3.2 → phono3py-3.3.4}/example/AlN-LDA/POSCAR-unitcell +0 -0
  98. {phono3py-3.3.2 → phono3py-3.3.4}/example/AlN-LDA/phono3py_disp.yaml +0 -0
  99. {phono3py-3.3.2 → phono3py-3.3.4}/example/AlN-LDA/phono3py_disp_dimfc2.yaml +0 -0
  100. {phono3py-3.3.2 → phono3py-3.3.4}/example/NaCl-alm/phono3py_params_NaCl222.yaml.xz +0 -0
  101. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/FORCES_FC2 +0 -0
  102. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/FORCES_FC3 +0 -0
  103. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/TEMPLATE +0 -0
  104. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/TEMPLATE3 +0 -0
  105. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/crystal.o +0 -0
  106. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-CRYSTAL/outputs.tar.gz +0 -0
  107. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-LDA/FORCES_FC3 +0 -0
  108. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-LDA/POSCAR-unitcell +0 -0
  109. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-LDA/phono3py_disp.yaml +0 -0
  110. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-LDA/vasprun_xmls.tar.lzma +0 -0
  111. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBE/FORCES_FC3 +0 -0
  112. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBE/POSCAR-unitcell +0 -0
  113. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBE/phono3py_disp.yaml +0 -0
  114. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBE/vasprun_xmls.tar.lzma +0 -0
  115. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/FORCES_FC3 +0 -0
  116. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/POSCAR-unitcell +0 -0
  117. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/Si-band-DOS.png +0 -0
  118. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/Si-kaccum.png +0 -0
  119. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/Si.py +0 -0
  120. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/phono3py_disp.yaml +0 -0
  121. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/phono3py_disp_dimfc2.yaml +0 -0
  122. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/vasprun_xml_fc2/disp-fc2-00001/INCAR +0 -0
  123. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/vasprun_xml_fc2/disp-fc2-00001/POSCAR +0 -0
  124. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/vasprun_xml_fc2/disp-fc2-00001/vasprun.xml +0 -0
  125. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-PBEsol/vasprun_xmls.tar.lzma +0 -0
  126. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-QE/FORCES_FC3 +0 -0
  127. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-QE/Si.in +0 -0
  128. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-QE/phono3py_disp.yaml +0 -0
  129. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-QE/supercell_out.tar.lzma +0 -0
  130. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/FORCES_FC2 +0 -0
  131. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/FORCES_FC3 +0 -0
  132. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/README +0 -0
  133. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/control +0 -0
  134. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/coord +0 -0
  135. {phono3py-3.3.2 → phono3py-3.3.4}/example/Si-TURBOMOLE/outputs.tar.gz +0 -0
  136. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/BORN +0 -0
  137. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/POSCAR +0 -0
  138. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/command.sh +0 -0
  139. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/fc2.hdf5 +0 -0
  140. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/kappa-m191919.hdf5 +0 -0
  141. {phono3py-3.3.2 → phono3py-3.3.4}/example/Wigner_La2Zr2O7/tc_La2Zr2O7.out.xz +0 -0
  142. {phono3py-3.3.2 → phono3py-3.3.4}/example/zb-ZnTe-PBEsol/README.md +0 -0
  143. {phono3py-3.3.2 → phono3py-3.3.4}/example/zb-ZnTe-PBEsol/launch_phono3py_ZnTe_PBEsol_222.py +0 -0
  144. {phono3py-3.3.2 → phono3py-3.3.4}/example/zb-ZnTe-PBEsol/phono3py_params_ZnTe.yaml.xz +0 -0
  145. {phono3py-3.3.2 → phono3py-3.3.4}/fortran/CMakeLists.txt +0 -0
  146. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/__init__.py +0 -0
  147. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/api_isotope.py +0 -0
  148. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/api_jointdos.py +0 -0
  149. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/__init__.py +0 -0
  150. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/base.py +0 -0
  151. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/direct_solution.py +0 -0
  152. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/kubo.py +0 -0
  153. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/rta.py +0 -0
  154. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/utils.py +0 -0
  155. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/conductivity/wigner.py +0 -0
  156. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/__init__.py +0 -0
  157. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/kaccum_script.py +0 -0
  158. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/cui/triplets_info.py +0 -0
  159. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/interface/__init__.py +0 -0
  160. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/interface/alm.py +0 -0
  161. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/interface/calculator.py +0 -0
  162. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/interface/fc_calculator.py +0 -0
  163. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/other/__init__.py +0 -0
  164. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/other/isotope.py +0 -0
  165. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/other/kaccum.py +0 -0
  166. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/other/tetrahedron_method.py +0 -0
  167. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/__init__.py +0 -0
  168. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/func.py +0 -0
  169. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/grid.py +0 -0
  170. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/group_velocity_matrix.py +0 -0
  171. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/heat_capacity_matrix.py +0 -0
  172. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/solver.py +0 -0
  173. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon/velocity_operator.py +0 -0
  174. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/__init__.py +0 -0
  175. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/collision_matrix.py +0 -0
  176. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/dataset.py +0 -0
  177. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/displacement_fc3.py +0 -0
  178. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/fc3.py +0 -0
  179. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/gruneisen.py +0 -0
  180. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/imag_self_energy.py +0 -0
  181. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/interaction.py +0 -0
  182. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/joint_dos.py +0 -0
  183. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/real_self_energy.py +0 -0
  184. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/real_to_reciprocal.py +0 -0
  185. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/reciprocal_to_normal.py +0 -0
  186. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/spectral_function.py +0 -0
  187. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/phonon3/triplets.py +0 -0
  188. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/scripts/phono3py.py +0 -0
  189. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/scripts/phono3py_coleigplot.py +0 -0
  190. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/scripts/phono3py_kaccum.py +0 -0
  191. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/scripts/phono3py_kdeplot.py +0 -0
  192. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/scripts/phono3py_load.py +0 -0
  193. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/sscha/__init__.py +0 -0
  194. {phono3py-3.3.2 → phono3py-3.3.4}/phono3py/sscha/sscha.py +0 -0
  195. {phono3py-3.3.2 → phono3py-3.3.4}/pyproject.toml +0 -0
  196. {phono3py-3.3.2 → phono3py-3.3.4}/test/AgNO2_cell.yaml +0 -0
  197. {phono3py-3.3.2 → phono3py-3.3.4}/test/BORN_NaCl +0 -0
  198. {phono3py-3.3.2 → phono3py-3.3.4}/test/FORCES_FC3_si_pbesol +0 -0
  199. {phono3py-3.3.2 → phono3py-3.3.4}/test/FORCE_SETS_NaCl +0 -0
  200. {phono3py-3.3.2 → phono3py-3.3.4}/test/Si-111-222-fd.tar.xz +0 -0
  201. {phono3py-3.3.2 → phono3py-3.3.4}/test/Si-111-222-rd.tar.xz +0 -0
  202. {phono3py-3.3.2 → phono3py-3.3.4}/test/api/test_api_phono3py.py +0 -0
  203. {phono3py-3.3.2 → phono3py-3.3.4}/test/conductivity/__init__.py +0 -0
  204. {phono3py-3.3.2 → phono3py-3.3.4}/test/conductivity/test_kappa_LBTE.py +0 -0
  205. {phono3py-3.3.2 → phono3py-3.3.4}/test/conductivity/test_kappa_LBTE_Wigner.py +0 -0
  206. {phono3py-3.3.2 → phono3py-3.3.4}/test/conductivity/test_kappa_RTA.py +0 -0
  207. {phono3py-3.3.2 → phono3py-3.3.4}/test/conductivity/test_kappa_RTA_Wigner.py +0 -0
  208. {phono3py-3.3.2 → phono3py-3.3.4}/test/conftest.py +0 -0
  209. {phono3py-3.3.2 → phono3py-3.3.4}/test/cui/phono3py_params-qe-Si222.yaml.xz +0 -0
  210. {phono3py-3.3.2 → phono3py-3.3.4}/test/cui/test_phono3py_load.py +0 -0
  211. {phono3py-3.3.2 → phono3py-3.3.4}/test/cui/test_phono3py_load_script.py +0 -0
  212. {phono3py-3.3.2 → phono3py-3.3.4}/test/file_IO/test_file_IO.py +0 -0
  213. {phono3py-3.3.2 → phono3py-3.3.4}/test/interface/test_phono3py_yaml.py +0 -0
  214. {phono3py-3.3.2 → phono3py-3.3.4}/test/other/__init__.py +0 -0
  215. {phono3py-3.3.2 → phono3py-3.3.4}/test/other/test_isotope.py +0 -0
  216. {phono3py-3.3.2 → phono3py-3.3.4}/test/other/test_kaccum.py +0 -0
  217. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params-Si111-rd.yaml.xz +0 -0
  218. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_AlN332.yaml.xz +0 -0
  219. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_MgO-222rd-444rd.yaml.xz +0 -0
  220. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_NaCl111.yaml +0 -0
  221. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_NaCl222.yaml.xz +0 -0
  222. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_Si-111-222-fd.yaml.xz +0 -0
  223. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_Si-111-222-rd.yaml.xz +0 -0
  224. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_Si-111-222.yaml +0 -0
  225. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_params_Si111.yaml +0 -0
  226. {phono3py-3.3.2 → phono3py-3.3.4}/test/phono3py_si_pbesol.yaml +0 -0
  227. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon/__init__.py +0 -0
  228. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon/test_grid.py +0 -0
  229. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon/test_velocity_operator.py +0 -0
  230. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/__init__.py +0 -0
  231. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_displacements.py +0 -0
  232. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_fc3.py +0 -0
  233. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_imag_self_energy.py +0 -0
  234. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_interaction.py +0 -0
  235. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_joint_dos.py +0 -0
  236. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_real_self_energy.py +0 -0
  237. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_spectral_function.py +0 -0
  238. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonon3/test_triplets.py +0 -0
  239. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonopy_disp_NaCl.yaml +0 -0
  240. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonopy_params-Si111-iterha.yaml.gz +0 -0
  241. {phono3py-3.3.2 → phono3py-3.3.4}/test/phonopy_params_Si.yaml +0 -0
  242. {phono3py-3.3.2 → phono3py-3.3.4}/test/sscha/__init__.py +0 -0
  243. {phono3py-3.3.2 → phono3py-3.3.4}/test/sscha/test_sscha.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phono3py
3
- Version: 3.3.2
3
+ Version: 3.3.4
4
4
  Summary: This is the phono3py module.
5
5
  Author-Email: Atsushi Togo <atztogo@gmail.com>
6
6
  License: Copyright (c) 2015-2024, Phonopy. All rights reserved.
@@ -0,0 +1,69 @@
1
+ This is the example of the wurtzite-type AlN phono3py calculation. The VASP code
2
+ was used with 500 eV and LDA as XC functional. The experimental lattice
3
+ parameters were used and the internal positions of atoms were relaxed by
4
+ calculation. The 3x3x2 and 5x5x3 supercells were chosen for fc3 and fc2. The
5
+ 6x6x4, 2x2x2, 1x1x2 k-point sampling meshes with Gamma-centre in the basal plane
6
+ and off-Gamma-centre along c-axis were employed for the unit cell, fc3
7
+ supercell, and fc2 supercell, respectively. For the DFPT calculation of Born
8
+ effective charges and dielectric constant, the 12x12x8 k-point sampling mesh
9
+ with the similar shift was used.
10
+
11
+ Then the forces were calculated with the above settings. `FORCES_FC3` and
12
+ `FORCES_FC2` were created with subtracting residual forces of perfect supercell
13
+ from all displaced supercell forces.
14
+
15
+ Perfect and displaced supercells were created by
16
+
17
+ ```bash
18
+ % phono3py --dim 3 3 2 -c POSCAR-unitcell -d
19
+ ```
20
+
21
+ In the example directory, `FORCES_FC3` is compressed to `FORCES_FC3.xz`. After
22
+ unzipping `FORCES_FC3.xz` (e.g., using `xz -d`), to obtain `fc3.hdf5` and
23
+ `fc2.hdf5` using symfc (the results without using symfc, i.e., finite difference
24
+ method, are shown at the bottom of this README)
25
+
26
+ ```bash
27
+ % phono3py-load --symfc -v
28
+ ```
29
+
30
+ Lattice thermal conductivity is calculated by
31
+
32
+ ```bash
33
+ % phono3py-load --mesh 40 --br --ts 300
34
+ ```
35
+
36
+ `kappa-m15158.hdf5` is written as the result. Parameters for non-analytical term
37
+ correction (NAC) is automatically read from those stored in `phono3py_disp.yaml` or
38
+ `BORN` file. The lattice thermal conductivity is calculated as k_xx=242.8 and
39
+ k_zz=226.5 W/m-K at 300 K. Without NAC, k_xx=233.6 and k_zz=222.2.
40
+
41
+ Use of larger supercell for fc2 may change the shape of phonon band structure.
42
+ To see it, first regenerate `phono3py_disp.yaml` with `--dim-fc2` option,
43
+
44
+ ```bash
45
+ % phono3py --dim 3 3 2 --dim-fc2 5 5 3 -c POSCAR-unitcell -d
46
+ ```
47
+
48
+ Then re-create force constants and calculate thermal conductivity,
49
+
50
+ ```bash
51
+ % phono3py-load --symfc -v
52
+ % phono3py-load --br --mesh=40 --ts 300
53
+ ```
54
+
55
+ If `phono3py_disp.yaml` is renamed to `phono3py_disp_dimfc2.yaml`, it can be
56
+ specified at the first argument of `phono3py-load` command:
57
+
58
+ ```bash
59
+ % phono3py-load phono3py_disp_dimfc2.yaml --symfc -v
60
+ % phono3py-load phono3py_disp_dimfc2.yaml --br --mesh=40 --ts 300
61
+ ```
62
+
63
+ k_xx=240.2 and k_zz=230.1 are obtained. In the case of this example, we can see
64
+ that the larger fc2 supercell contributes little, which means that the 3x3x2
65
+ supercell was good enough to obtain a good shape of phonon band structure.
66
+
67
+ Using the finite difference method implemented in phono3py, lattice thermal
68
+ conductivities are obtained as k_xx=251.2 and k_zz=233,4 without using the large
69
+ fc2 supercell and k_xx=249.4 k_zz=236.9 using the large fc2 supercell.
@@ -29,4 +29,4 @@ lattice thermal conductivity at 300 K is calculated by
29
29
  % phono3py-load phono3py_params_NaCl222.yaml.xz --mesh 50 --ts 300 --br
30
30
  ```
31
31
 
32
- The result is ~7.2 W/m-K at 300 K.
32
+ The result is ~7.3 W/m-K at 300 K.
@@ -0,0 +1,80 @@
1
+ # Example of using random directional displacements
2
+
3
+ ## How to use symfc
4
+
5
+ This example utilizes an NaCl calculation result from A. Togo and A. Seko, J.
6
+ Chem. Phys. 160, 211001 (2024). Supercells of 2x2x2 and 4x4x4 conventional unit
7
+ cells are chosen for the third-order force constants (fc3) and second-order
8
+ force constants (fc2), respectively. Displacement-force datasets consisting of
9
+ 100 supercells for fc3 and 2 supercells for fc2 are extracted and stored in
10
+ `phono3py_params_NaCl.yaml.xz`. Random directional displacements of a constant
11
+ 0.03 Angstrom are used.
12
+
13
+ To calculate force constants, an external force constants calculator is
14
+ necessary. Here, the symfc tool (available at https://github.com/symfc/symfc) is
15
+ used, which can be easily installed via pip or conda.
16
+
17
+ The `fc3.hdf5` and `fc2.hdf5` are computed using the command:
18
+
19
+ ```
20
+ % phono3py-load phono3py_params_NaCl.yaml.xz --symfc -v
21
+ ```
22
+
23
+ Lattice thermal conductivity (LTC) is calculated with the following command:
24
+
25
+ ```
26
+ % phono3py-load phono3py_params_NaCl.yaml.xz --br --ts 300 --mesh 50
27
+ ```
28
+
29
+ By this, LTC is obtained around 8.3 W/m-k.
30
+
31
+
32
+ ## How to use pypolymlp
33
+
34
+ When supercell energies are included in `phono3py_params.yaml` like file, the
35
+ polynomial machine learning potential (poly-MLP) by pypolymlp can be used to
36
+ calculate fc3 by the following command:
37
+
38
+ ```bash
39
+ % phono3py-load phono3py_params_NaCl.yaml.xz --pypolymlp --symfc --rd 400 -v
40
+ ```
41
+
42
+ the procedure below is performed:
43
+
44
+ 1. Poly-MLPs are computed from the displacement-force dataset for fc3. This is
45
+ activated by `--pypolymlp` option.
46
+ 2. 800=400+400 supercells for random directional displacements are generated,
47
+ where 400+400 means 400 supercells with random displacements (u) and 400
48
+ supercells with opposite displacement vectors (-u). This is activated by
49
+ `--rd 400` option. The default displacement distance is 0.001 Angstrom in
50
+ `--pypolymlp` mode. Since random displacements are generated `--symfc` has to
51
+ be specified for fc3. In this example, random displacements are used for fc2,
52
+ too, `--symfc` is applied to both of fc3 and fc2. Without `--rd` option,
53
+ systematic displacements are generated, for which the option `--fc-calc "symfc|"`
54
+ has to be specified instead of `--symfc` (equivalent to `--fc-calc "symfc|symfc")`).
55
+ 3. Forces on atoms in these 800 supercells are calculated using poly-MLP.
56
+ 4. Force constants are calculated.
57
+
58
+
59
+ The `fc3.hdf5` and `fc2.hdf5` are obtained. Using these force constants, LTC is
60
+ calculated by
61
+
62
+ ```bash
63
+ % phono3py-load phono3py_params_NaCl.yaml.xz --br --ts 300 --mesh 50
64
+ ```
65
+
66
+ and the LTC value of around 8.2 W/m-k is obtained.
67
+
68
+ ## Generating phono3py_params.yaml from vasprun.xml's
69
+
70
+ `phono3py_params.yaml` is generated from
71
+
72
+ ```bash
73
+ % phono3py phono3py_disp.yaml --cf3 NaCl-vasprun/vasprun-{00001..00100}.xml --cf2 NaCl-vasprun/vasprun-ph0000{1,2}.xml --sp
74
+ ```
75
+
76
+ This command reads electronic energies of supercells from `vasprun.xml`s and
77
+ writes them into `phono3py_params.yaml`, too. Here, `phono3py_disp.yaml` is not
78
+ included in this example, but `phono3py_params_NaCl.yaml.xz` can be used to run
79
+ this example since corresponding information of displacements is included in
80
+ this file, too.
@@ -23,7 +23,7 @@ for the CRYSTAL interface, so the -c crystal.o parameter is not needed
23
23
 
24
24
  4) Create force constant files fc2.hdf5 and fc3.hdf5:
25
25
 
26
- phono3py --crystal --dim="2 2 2" --dim-fc2="4 4 4" --sym-fc
26
+ phono3py --crystal --dim="2 2 2" --dim-fc2="4 4 4" --fc-symmetry
27
27
 
28
28
  5) Thermal conductivity calculation:
29
29
 
@@ -13,18 +13,18 @@ conventional unit cell to the primitive cell.
13
13
  To create `fc3.hdf5` and `fc2.hdf5`,
14
14
 
15
15
  ```
16
- % phono3py --sym-fc
16
+ % phono3py-load
17
17
  ```
18
18
 
19
19
  Using 11x11x11 sampling mesh, lattice thermal conductivity is calculated by
20
20
 
21
21
  ```
22
- % phono3py --mesh 11 11 11 --fc3 --fc2 --br
22
+ % phono3py-load --mesh 11 11 11 --br --ts 300
23
23
  ```
24
24
 
25
25
  `kappa-m111111.hdf5` is written as the result. The lattice thermal conductivity
26
- is calculated as 112.5 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
- mesh, 127.0 W/m-K.
26
+ is calculated as 112.4 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
+ mesh, 128.2 W/m-K.
28
28
 
29
29
  Accumulated lattice thermal conductivity is calculated using `phono3py-kaccum`
30
30
  script.
@@ -13,18 +13,18 @@ conventional unit cell to the primitive cell.
13
13
  To create `fc3.hdf5` and `fc2.hdf5`,
14
14
 
15
15
  ```
16
- % phono3py --sym-fc
16
+ % phono3py-load
17
17
  ```
18
18
 
19
19
  Using 11x11x11 sampling mesh, lattice thermal conductivity is calculated by
20
20
 
21
21
  ```
22
- % phono3py --mesh 11 11 11 --fc3 --fc2 --br
22
+ % phono3py-load --mesh 11 11 11 --fc3 --fc2 --br
23
23
  ```
24
24
 
25
25
  `kappa-m111111.hdf5` is written as the result. The lattice thermal conductivity
26
- is calculated as 119.3 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
- mesh, 132.4 W/m-K.
26
+ is calculated as 119.5 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
+ mesh, 130.1 W/m-K.
28
28
 
29
29
  Accumulated lattice thermal conductivity is calculated using `phono3py-kaccum`
30
30
  script.
@@ -13,18 +13,18 @@ the conventional unit cell to the primitive cell.
13
13
  To create `fc3.hdf5` and `fc2.hdf5`,
14
14
 
15
15
  ```
16
- % phono3py --sym-fc
16
+ % phono3py-load
17
17
  ```
18
18
 
19
19
  Using 11x11x11 sampling mesh, lattice thermal conductivity is calculated by
20
20
 
21
21
  ```
22
- % phono3py --mesh 11 11 11 --fc3 --fc2 --br
22
+ % phono3py-load --mesh 11 11 11 --br
23
23
  ```
24
24
 
25
25
  `kappa-m111111.hdf5` is written as the result. The lattice thermal conductivity
26
- is calculated as 109.0 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
- mesh, 123.2 W/m-K.
26
+ is calculated as 109.1 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
+ mesh, 124.4 W/m-K.
28
28
 
29
29
  Accumulated lattice thermal conductivity is calculated using `phono3py-kaccum`
30
30
  script.
@@ -80,11 +80,11 @@ In this example directory, the dataset is renamed to
80
80
  at `vasprun_xml_fc2/disp-fc2-00001/vasprun.xml`. `FORCES_FC2` is generated by
81
81
 
82
82
  ```
83
- % phono3py phono3py_disp_dimfc2.yaml --cf2 vasprun_xml_fc2/disp-fc2-00001/vasprun.xml
83
+ % phono3py -c phono3py_disp_dimfc2.yaml --cf2 vasprun_xml_fc2/disp-fc2-00001/vasprun.xml
84
84
  ```
85
85
 
86
86
  A lattice thermal conductivity calculation is performed by, e.g.,
87
87
  ```
88
88
  % phono3py-load phono3py_disp_dimfc2.yaml --mesh 11 11 11 --br --ts 300
89
89
  ```
90
- The result is 108.0 W/m-K, and with the 19x19x19 mesh, 125.4 W/m-K.
90
+ The result is 107.9 W/m-K, and with the 19x19x19 mesh, 125.4 W/m-K.
@@ -13,18 +13,18 @@ the conventional unit cell to the primitive cell.
13
13
  To create `fc3.hdf5` and `fc2.hdf5`,
14
14
 
15
15
  ```
16
- % phono3py --sym-fc
16
+ % phono3py-load
17
17
  ```
18
18
 
19
19
  Using 11x11x11 sampling mesh, lattice thermal conductivity is calculated by
20
20
 
21
21
  ```
22
- % phono3py --mesh 11 11 11 --fc3 --fc2 --br
22
+ % phono3py-load --mesh 11 11 11 --br --ts 300
23
23
  ```
24
24
 
25
25
  `kappa-m111111.hdf5` is written as the result. The lattice thermal conductivity
26
- is calculated as 118.9 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
- mesh, 129.9 W/m-K.
26
+ is calculated as 121.3 W/m-K at 300 K. This becomes, with 19x19x19 sampling
27
+ mesh, 135.4 W/m-K.
28
28
 
29
29
  The .out files for supercells are found in `supercell_out.tar.lzma`. If phono3py
30
30
  is properly installed, the following command should work.
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '3.3.2'
16
- __version_tuple__ = version_tuple = (3, 3, 2)
15
+ __version__ = version = '3.3.4'
16
+ __version_tuple__ = version_tuple = (3, 3, 4)
@@ -1487,6 +1487,9 @@ class Phono3py:
1487
1487
  fc2 = None
1488
1488
  if fc_calculator_options is not None and "|" in fc_calculator_options:
1489
1489
  fc2 = None
1490
+ # fc2 should not be set if phonon_supercell_matrix is available.
1491
+ if self._phonon_supercell_matrix is not None:
1492
+ fc2 = None
1490
1493
 
1491
1494
  # Normally self._fc2 is overwritten in produce_fc2
1492
1495
  if self._fc2 is None:
@@ -1527,6 +1530,9 @@ class Phono3py:
1527
1530
  else:
1528
1531
  disp_dataset = self._phonon_dataset
1529
1532
 
1533
+ if not forces_in_dataset(disp_dataset):
1534
+ raise RuntimeError("Forces are not set in the dataset.")
1535
+
1530
1536
  if is_compact_fc:
1531
1537
  p2s_map = self._phonon_primitive.p2s_map
1532
1538
  else:
@@ -1548,10 +1554,7 @@ class Phono3py:
1548
1554
  )
1549
1555
  else:
1550
1556
  if "displacements" in disp_dataset:
1551
- msg = (
1552
- "fc_calculator has to be set to produce force "
1553
- "constans from this dataset for fc2."
1554
- )
1557
+ msg = "fc_calculator to solve fc2 has to be set."
1555
1558
  raise RuntimeError(msg)
1556
1559
  self._fc2 = get_phonopy_fc2(
1557
1560
  self._phonon_supercell,