We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef503a3 commit b125ea1Copy full SHA for b125ea1
pytim/cube.py
@@ -88,7 +88,7 @@ def write_file(filename,
88
else:
89
natoms = 0
90
grid_size = np.array(grid_size, dtype=int)
91
- shift = np.array([1, 1, 1]) * spacing / 2.
+ shift = -np.array([0, 0, 11 ]) * spacing * Bohr
92
#spacing = spacing*(grid_size+1.)/grid_size
93
f.write('CPMD CUBE FILE\n')
94
f.write('GENERATED BY PYTIM\n')
0 commit comments