Compare commits

..

No commits in common. 'd577c73c60ded4e469f57ae9dcc26c7636af3680' and '0ded9d1126855945d40fadab942f9af47ed040f9' have entirely different histories.

  1. BIN
      .DS_Store
  2. 8
      bin/cmmde.py
  3. 38
      bin/cmmdepost.py
  4. BIN
      lib/.DS_Store
  5. BIN
      lib/__pycache__/cmmde_array.cpython-310.pyc
  6. BIN
      lib/__pycache__/cmmde_array.cpython-39.pyc
  7. BIN
      lib/__pycache__/cmmde_atoms.cpython-310.pyc
  8. BIN
      lib/__pycache__/cmmde_atoms.cpython-39.pyc
  9. BIN
      lib/__pycache__/cmmde_bravais.cpython-310.pyc
  10. BIN
      lib/__pycache__/cmmde_bravais.cpython-39.pyc
  11. BIN
      lib/__pycache__/cmmde_bulk.cpython-310.pyc
  12. BIN
      lib/__pycache__/cmmde_bulk.cpython-39.pyc
  13. BIN
      lib/__pycache__/cmmde_cell.cpython-310.pyc
  14. BIN
      lib/__pycache__/cmmde_cell.cpython-39.pyc
  15. BIN
      lib/__pycache__/cmmde_clusterutil.cpython-310.pyc
  16. BIN
      lib/__pycache__/cmmde_clusterutil.cpython-39.pyc
  17. BIN
      lib/__pycache__/cmmde_cubic.cpython-310.pyc
  18. BIN
      lib/__pycache__/cmmde_cubic.cpython-39.pyc
  19. BIN
      lib/__pycache__/cmmde_data.cpython-310.pyc
  20. BIN
      lib/__pycache__/cmmde_data.cpython-39.pyc
  21. BIN
      lib/__pycache__/cmmde_dcdftb.cpython-310.pyc
  22. BIN
      lib/__pycache__/cmmde_dcdftb.cpython-312.pyc
  23. BIN
      lib/__pycache__/cmmde_dcdftb.cpython-38.pyc
  24. BIN
      lib/__pycache__/cmmde_dcdftb.cpython-39.pyc
  25. BIN
      lib/__pycache__/cmmde_decahedron.cpython-310.pyc
  26. BIN
      lib/__pycache__/cmmde_decahedron.cpython-39.pyc
  27. BIN
      lib/__pycache__/cmmde_dftb.cpython-312.pyc
  28. BIN
      lib/__pycache__/cmmde_dftb.cpython-38.pyc
  29. BIN
      lib/__pycache__/cmmde_dftb.cpython-39.pyc
  30. BIN
      lib/__pycache__/cmmde_dock.cpython-310.pyc
  31. BIN
      lib/__pycache__/cmmde_dock.cpython-312.pyc
  32. BIN
      lib/__pycache__/cmmde_dock.cpython-38.pyc
  33. BIN
      lib/__pycache__/cmmde_dock.cpython-39.pyc
  34. BIN
      lib/__pycache__/cmmde_formats.cpython-310.pyc
  35. BIN
      lib/__pycache__/cmmde_formats.cpython-39.pyc
  36. BIN
      lib/__pycache__/cmmde_gen2poscar.cpython-310.pyc
  37. BIN
      lib/__pycache__/cmmde_gen2poscar.cpython-39.pyc
  38. BIN
      lib/__pycache__/cmmde_hubbard.cpython-310.pyc
  39. BIN
      lib/__pycache__/cmmde_hubbard.cpython-312.pyc
  40. BIN
      lib/__pycache__/cmmde_hubbard.cpython-38.pyc
  41. BIN
      lib/__pycache__/cmmde_hubbard.cpython-39.pyc
  42. BIN
      lib/__pycache__/cmmde_icosahedron.cpython-310.pyc
  43. BIN
      lib/__pycache__/cmmde_icosahedron.cpython-39.pyc
  44. BIN
      lib/__pycache__/cmmde_mass.cpython-310.pyc
  45. BIN
      lib/__pycache__/cmmde_mass.cpython-312.pyc
  46. BIN
      lib/__pycache__/cmmde_mass.cpython-38.pyc
  47. BIN
      lib/__pycache__/cmmde_mass.cpython-39.pyc
  48. BIN
      lib/__pycache__/cmmde_mdpro.cpython-312.pyc
  49. BIN
      lib/__pycache__/cmmde_mdpro.cpython-38.pyc
  50. BIN
      lib/__pycache__/cmmde_mdpro.cpython-39.pyc
  51. BIN
      lib/__pycache__/cmmde_msd_com.cpython-39.pyc
  52. BIN
      lib/__pycache__/cmmde_nw.cpython-312.pyc
  53. BIN
      lib/__pycache__/cmmde_nw.cpython-38.pyc
  54. BIN
      lib/__pycache__/cmmde_nw.cpython-39.pyc
  55. BIN
      lib/__pycache__/cmmde_orca.cpython-312.pyc
  56. BIN
      lib/__pycache__/cmmde_orca.cpython-38.pyc
  57. BIN
      lib/__pycache__/cmmde_orca.cpython-39.pyc
  58. BIN
      lib/__pycache__/cmmde_parallel.cpython-310.pyc
  59. BIN
      lib/__pycache__/cmmde_parallel.cpython-39.pyc
  60. BIN
      lib/__pycache__/cmmde_qe.cpython-312.pyc
  61. BIN
      lib/__pycache__/cmmde_qe.cpython-38.pyc
  62. BIN
      lib/__pycache__/cmmde_qe.cpython-39.pyc
  63. BIN
      lib/__pycache__/cmmde_rdf.cpython-310.pyc
  64. BIN
      lib/__pycache__/cmmde_rdf.cpython-39.pyc
  65. BIN
      lib/__pycache__/cmmde_stress.cpython-310.pyc
  66. BIN
      lib/__pycache__/cmmde_stress.cpython-39.pyc
  67. BIN
      lib/__pycache__/cmmde_surface.cpython-310.pyc
  68. BIN
      lib/__pycache__/cmmde_surface.cpython-39.pyc
  69. BIN
      lib/__pycache__/cmmde_symbols.cpython-310.pyc
  70. BIN
      lib/__pycache__/cmmde_symbols.cpython-39.pyc
  71. BIN
      lib/__pycache__/cmmde_tetrahedron.cpython-310.pyc
  72. BIN
      lib/__pycache__/cmmde_tetrahedron.cpython-39.pyc
  73. BIN
      lib/__pycache__/cmmde_tools.cpython-310.pyc
  74. BIN
      lib/__pycache__/cmmde_tools.cpython-39.pyc
  75. BIN
      lib/__pycache__/cmmde_unit.cpython-310.pyc
  76. BIN
      lib/__pycache__/cmmde_unit.cpython-39.pyc
  77. BIN
      lib/__pycache__/cmmde_units.cpython-310.pyc
  78. BIN
      lib/__pycache__/cmmde_units.cpython-39.pyc
  79. BIN
      lib/__pycache__/cmmde_utils.cpython-310.pyc
  80. BIN
      lib/__pycache__/cmmde_utils.cpython-39.pyc
  81. BIN
      lib/__pycache__/cmmde_xtb.cpython-310.pyc
  82. BIN
      lib/__pycache__/cmmde_xtb.cpython-312.pyc
  83. BIN
      lib/__pycache__/cmmde_xtb.cpython-38.pyc
  84. BIN
      lib/__pycache__/cmmde_xtb.cpython-39.pyc
  85. 3
      lib/cmmde_hubbard.py

BIN
.DS_Store vendored

Binary file not shown.

@ -14,17 +14,17 @@ import time
parser = argparse.ArgumentParser(description='Computational Molecular & Material Design Interface')
# Geometry input file, without this, your calculation won't proceed.
# Input Geometri, tanpa ini perhitungan tidak akan berjalan.
parser.add_argument('-i','--input',type=str,default='geom.xyz',help='Input geometri dalam koordinat Cartesian')
parser.add_argument('-cons','--constraints',type=str,default='None',help='Membekukan ikatan, sudut ikatan, dan sebagainya selama proses optimasi geometri. Periksa manual Orca 5.0 lebih lanjut mengenai ini.')
# Charge and spin multiplicity of the molecule.
# Informasi muatan dan multiplisitas spin molekul.
parser.add_argument('-c','--charge',type=int,default=0, help='Muatan molekul')
parser.add_argument('-mult','--mult',type=int,default=1, help='Multiplisitas molekul')
# Inputs about the software, type of job, and computational methods.
# Input yang berkaitan dengan software, metode, dan jenis pekerjaan
parser.add_argument('-s','--software',type=str,default='orca',help='Software yang digunakan. Pilihan: orca, dcdftb, gromacs')
parser.add_argument('-j','--job',type=str,default='sp',help='Jenis perhitungan yang dilakukan. Pilihan: sp, opt, freq, md, mtd, td, dock.')
parser.add_argument('-m','--method',type=str,default='XTB2',help='Metode yang digunakan dalam perhitungan. Pilihan: XTB, XTB2, DFTB, DFTB2, DFTB3-diag, dan sebagainya.')
# Inputs about the frequency calculations in Orca.
# Input yang berkaitan dengan perhitungan frekuensi menggunakan software Orca
parser.add_argument('-sfreq','--scalefreq',type=float,default=1, help='Faktor skala frekuensi yang digunakan.')
# Input yang berkaitan dengan perhitungan menggunakan software DCDFTBMD
parser.add_argument('-disp','--dispersion',type=str,default='None', help='Model koreksi dispersi jika menggunakan software DCDFTB. Pilihan: None, D3, D3BJ, D3H5.')

@ -788,44 +788,6 @@ if opt.job == 'ts' and opt.software == 'orca':
print('Delta_S_forward* = {:.2f} J/(mol K)'.format(delta_S_forward))
print('Delta_S_backward* = {:.2f} J/(mol K)'.format(delta_S_backward))
if opt.job == 'force' and opt.software == 'orca':
with open('cmmd.xyz') as f:
x = int(f.readlines()[0])
x = round(x*3/4)
with open('cmmd.opt') as f:
lines = f.readlines()
for i, line in enumerate(lines):
if "$gradients" in line:
data = lines[i+2:i+x+2]
data = [x.strip("\n").strip(" ") for x in data]
data_clean = []
for i in data:
x = i.split(" ")
for i in x:
data_clean.append(i.strip(""))
# data_clean = [float(x) for x in data_clean]
data = []
for i in data_clean:
if i != '':
data.append(float(i))
j = 0
for j in range(int(len(data)/3)):
if j < (len(data) - 2):
print(data[j],data[j+1],data[j+2])
j += 3
# data = [x.strip(" ") for x in data]
# data = [x.strip(",") for x in data]
if opt.job == 'opt' and opt.software == 'dcdftb':
Energy = []
Gradient = []

BIN
lib/.DS_Store vendored

Binary file not shown.

@ -24,8 +24,7 @@ def azimuth(element):
'Co' : '3',
'Ti' : '3',
'C' : '2',
'Si': '3',
'Zr': '3',
'Si': '3'
}
return azimuth[element]

Loading…
Cancel
Save