TB2Jflows 0.1__py3-none-any.whl → 0.2__py3-none-any.whl
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.
- TB2Jflows/ase_siesta.py +15 -14
- TB2Jflows/auto_siesta_TB2J.py +2 -2
- {tb2jflows-0.1.dist-info → tb2jflows-0.2.dist-info}/METADATA +1 -1
- tb2jflows-0.2.dist-info/RECORD +9 -0
- tb2jflows-0.1.dist-info/RECORD +0 -9
- {tb2jflows-0.1.dist-info → tb2jflows-0.2.dist-info}/WHEEL +0 -0
- {tb2jflows-0.1.dist-info → tb2jflows-0.2.dist-info}/licenses/LICENSE +0 -0
- {tb2jflows-0.1.dist-info → tb2jflows-0.2.dist-info}/top_level.txt +0 -0
TB2Jflows/ase_siesta.py
CHANGED
|
@@ -160,6 +160,7 @@ class SiestaFlow:
|
|
|
160
160
|
MaxStressTol=0.1,
|
|
161
161
|
NumCGSteps=200,
|
|
162
162
|
):
|
|
163
|
+
print(f"Relaxation in {path}")
|
|
163
164
|
if (
|
|
164
165
|
self.restart
|
|
165
166
|
and self.metadata["already_relaxed"]
|
|
@@ -171,20 +172,20 @@ class SiestaFlow:
|
|
|
171
172
|
old_spin = self.spin
|
|
172
173
|
if use_collinear:
|
|
173
174
|
self.spin = "collinear"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
175
|
+
calc = self.get_calculator(atoms, path=self.relax_path, label=label)
|
|
176
|
+
calc.atoms = atoms
|
|
177
|
+
atoms = calc.relax(
|
|
178
|
+
atoms,
|
|
179
|
+
TypeOfRun=TypeOfRun,
|
|
180
|
+
VariableCell=VariableCell,
|
|
181
|
+
ConstantVolume=ConstantVolume,
|
|
182
|
+
RelaxCellOnly=RelaxCellOnly,
|
|
183
|
+
MaxForceTol=MaxForceTol,
|
|
184
|
+
MaxStressTol=MaxStressTol,
|
|
185
|
+
NumCGSteps=NumCGSteps,
|
|
186
|
+
)
|
|
187
|
+
self.spin = old_spin
|
|
188
|
+
self.relaxed_atoms = atoms
|
|
188
189
|
self.update_metadata(
|
|
189
190
|
{
|
|
190
191
|
"already_relaxed": True,
|
TB2Jflows/auto_siesta_TB2J.py
CHANGED
|
@@ -52,7 +52,7 @@ def auto_siesta_TB2J(
|
|
|
52
52
|
TB2J=True,
|
|
53
53
|
rotate_type="structure",
|
|
54
54
|
fincore=True,
|
|
55
|
-
|
|
55
|
+
relax_kwargs={},
|
|
56
56
|
siesta_kwargs={},
|
|
57
57
|
TB2J_kwargs={},
|
|
58
58
|
fdf_kwargs={},
|
|
@@ -100,7 +100,7 @@ def auto_siesta_TB2J(
|
|
|
100
100
|
fincore=fincore,
|
|
101
101
|
Udict=Udict,
|
|
102
102
|
split_soc=split_soc,
|
|
103
|
-
relax_arguments =
|
|
103
|
+
relax_arguments = relax_kwargs,
|
|
104
104
|
**siesta_kwargs,
|
|
105
105
|
)
|
|
106
106
|
flow.write_metadata()
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
TB2Jflows/__init__.py,sha256=0aRVj9v-u64LxJl7Cyxcr4YUjpeMkBGPuv-nJbxbHOg,100
|
|
2
|
+
TB2Jflows/ase_siesta.py,sha256=tHeiKWszra8sjcJ_7Pq0cOBUC1ZEluRNEeHGj35Oz6M,14476
|
|
3
|
+
TB2Jflows/auto_siesta_TB2J.py,sha256=o1A5Qf0Ru35BY5jwSAIQ2rPXD1mb572LEAQfgNfEVnM,3174
|
|
4
|
+
TB2Jflows/run_abacus.py,sha256=96tZ2n02FFLl8IZf4W_4TvkCcsd6oS1FVEIqhZpY76o,2692
|
|
5
|
+
tb2jflows-0.2.dist-info/licenses/LICENSE,sha256=KNu68sa-XR_2jZJKhDcSnxoNve8jtHgkw_w9PjP1YOk,1315
|
|
6
|
+
tb2jflows-0.2.dist-info/METADATA,sha256=l2Lsj-MqAlL7fizCsUsD94RaqGpg6D-F-1HtmaOesL8,967
|
|
7
|
+
tb2jflows-0.2.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
8
|
+
tb2jflows-0.2.dist-info/top_level.txt,sha256=iYRLHB7ZeHb59fEZLnbqJDymBKWPqfVgmvqd9S51Txw,10
|
|
9
|
+
tb2jflows-0.2.dist-info/RECORD,,
|
tb2jflows-0.1.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
TB2Jflows/__init__.py,sha256=0aRVj9v-u64LxJl7Cyxcr4YUjpeMkBGPuv-nJbxbHOg,100
|
|
2
|
-
TB2Jflows/ase_siesta.py,sha256=zvKfKPidFvndfMQH0PHDprnFpwirk4yKdqwWDBe-_EI,14493
|
|
3
|
-
TB2Jflows/auto_siesta_TB2J.py,sha256=hrnJos-Rkx1bngFOSr4wATUr0NVyBXmSOsrvscfMLmg,3180
|
|
4
|
-
TB2Jflows/run_abacus.py,sha256=96tZ2n02FFLl8IZf4W_4TvkCcsd6oS1FVEIqhZpY76o,2692
|
|
5
|
-
tb2jflows-0.1.dist-info/licenses/LICENSE,sha256=KNu68sa-XR_2jZJKhDcSnxoNve8jtHgkw_w9PjP1YOk,1315
|
|
6
|
-
tb2jflows-0.1.dist-info/METADATA,sha256=BFLB9Ngpq9iLlEAxF245S9snQgmTFTp3FBypy5azHkY,967
|
|
7
|
-
tb2jflows-0.1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
8
|
-
tb2jflows-0.1.dist-info/top_level.txt,sha256=iYRLHB7ZeHb59fEZLnbqJDymBKWPqfVgmvqd9S51Txw,10
|
|
9
|
-
tb2jflows-0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|