solid-dmft 3.2.3__tar.gz → 3.3.1__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.
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/MANIFEST.in +3 -1
- {solid_dmft-3.2.3/python/solid_dmft.egg-info → solid_dmft-3.3.1}/PKG-INFO +2 -2
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/pyproject.toml +2 -2
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/csc_flow.py +10 -8
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_cycle.py +275 -200
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/afm_mapping.py +5 -5
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/convergence.py +1 -2
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/formatter.py +2 -6
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/greens_functions_mixer.py +0 -22
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/initial_self_energies.py +169 -61
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/interaction_hamiltonian.py +178 -122
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/manipulate_chemical_potential.py +15 -26
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/observables.py +30 -35
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/results_to_archive.py +48 -21
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/solver.py +533 -159
- solid_dmft-3.3.1/python/solid_dmft/gw_embedding/__init__.py +29 -0
- solid_dmft-3.3.1/python/solid_dmft/gw_embedding/bdft_converter.py +491 -0
- solid_dmft-3.3.1/python/solid_dmft/gw_embedding/gw_flow.py +503 -0
- solid_dmft-3.3.1/python/solid_dmft/gw_embedding/iaft.py +277 -0
- solid_dmft-3.3.1/python/solid_dmft/gw_embedding/qp_evs_to_eig.py +51 -0
- solid_dmft-3.3.1/python/solid_dmft/io_tools/__init__.py +29 -0
- solid_dmft-3.3.1/python/solid_dmft/io_tools/default.toml +207 -0
- solid_dmft-3.3.1/python/solid_dmft/io_tools/dict_to_h5.py +25 -0
- solid_dmft-3.3.1/python/solid_dmft/io_tools/postproc_toml_dict.py +188 -0
- solid_dmft-3.3.1/python/solid_dmft/io_tools/verify_input_params.py +162 -0
- solid_dmft-3.3.1/python/solid_dmft/main.py +154 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/eval_U_cRPA_RESPACK.py +19 -11
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/maxent_sigma.py +14 -0
- solid_dmft-3.3.1/python/solid_dmft/postprocessing/pade_sigma.py +106 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/plot_correlated_bands.py +56 -29
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/version.py +4 -4
- {solid_dmft-3.2.3 → solid_dmft-3.3.1/python/solid_dmft.egg-info}/PKG-INFO +2 -2
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft.egg-info/SOURCES.txt +11 -3
- solid_dmft-3.3.1/python/solid_dmft.egg-info/requires.txt +3 -0
- solid_dmft-3.2.3/python/solid_dmft/main.py +0 -127
- solid_dmft-3.2.3/python/solid_dmft/read_config.py +0 -1286
- solid_dmft-3.2.3/python/solid_dmft/util/update_dmft_config.py +0 -149
- solid_dmft-3.2.3/python/solid_dmft/util/update_results_h5.py +0 -92
- solid_dmft-3.2.3/python/solid_dmft.egg-info/requires.txt +0 -3
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/COPYING.txt +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/LICENSE.txt +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/README.md +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/__init__.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dft_managers/__init__.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dft_managers/mpi_helpers.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dft_managers/qe_manager.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dft_managers/vasp_manager.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/__init__.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/legendre_filter.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/dmft_tools/matheval.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/__init__.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/eval_U_cRPA_Vasp.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/maxent_gf_imp.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/postprocessing/maxent_gf_latt.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/util/__init__.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/util/symmetrize_gamma_file.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft/util/write_kslice_to_h5.py +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft.egg-info/dependency_links.txt +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft.egg-info/entry_points.txt +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/python/solid_dmft.egg-info/top_level.txt +0 -0
- {solid_dmft-3.2.3 → solid_dmft-3.3.1}/setup.cfg +0 -0
|
@@ -10,4 +10,6 @@ prune paper
|
|
|
10
10
|
prune bin
|
|
11
11
|
prune build
|
|
12
12
|
|
|
13
|
-
global-
|
|
13
|
+
global-include default.toml
|
|
14
|
+
|
|
15
|
+
global-exclude .clang-format .clang-tidy .dockerignore .gitignore CMakeLists.txt Jenkinsfile
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: solid_dmft
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.1
|
|
4
4
|
Summary: solid_dmft: a versatile python wrapper to perform DFT+DMFT calculations utilizing the TRIQS software library
|
|
5
5
|
Author-email: Alexander Hampel <ahampel@flatironinstitute.org>
|
|
6
6
|
Project-URL: Homepage, https://triqs.github.io/solid_dmft
|
|
@@ -16,7 +16,7 @@ License-File: LICENSE.txt
|
|
|
16
16
|
License-File: COPYING.txt
|
|
17
17
|
Requires-Dist: numpy
|
|
18
18
|
Requires-Dist: scipy
|
|
19
|
-
Requires-Dist:
|
|
19
|
+
Requires-Dist: scikit-image
|
|
20
20
|
|
|
21
21
|

|
|
22
22
|
|
|
@@ -7,7 +7,7 @@ where = ["python"]
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "solid_dmft"
|
|
10
|
-
version = "3.
|
|
10
|
+
version = "3.3.1"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name="Alexander Hampel", email="ahampel@flatironinstitute.org" }
|
|
13
13
|
]
|
|
@@ -23,7 +23,7 @@ classifiers = [
|
|
|
23
23
|
dependencies = [
|
|
24
24
|
"numpy",
|
|
25
25
|
"scipy",
|
|
26
|
-
"
|
|
26
|
+
"scikit-image"
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.urls]
|
|
@@ -44,18 +44,18 @@ from solid_dmft.dmft_cycle import dmft_cycle
|
|
|
44
44
|
from solid_dmft.dft_managers import vasp_manager as vasp
|
|
45
45
|
from solid_dmft.dft_managers import qe_manager as qe
|
|
46
46
|
|
|
47
|
-
def _run_plo_converter(general_params):
|
|
47
|
+
def _run_plo_converter(general_params, dft_params):
|
|
48
48
|
if not mpi.is_master_node():
|
|
49
49
|
return
|
|
50
50
|
|
|
51
51
|
# Checks for plo file for projectors
|
|
52
|
-
if not os.path.exists(
|
|
52
|
+
if not os.path.exists(dft_params['plo_cfg']):
|
|
53
53
|
print('*** Input PLO config file not found! '
|
|
54
|
-
+ 'I was looking for {} ***'.format(
|
|
54
|
+
+ 'I was looking for {} ***'.format(dft_params['plo_cfg']))
|
|
55
55
|
mpi.MPI.COMM_WORLD.Abort(1)
|
|
56
56
|
|
|
57
57
|
# Runs plo converter
|
|
58
|
-
plo_converter.generate_and_output_as_text(
|
|
58
|
+
plo_converter.generate_and_output_as_text(dft_params['plo_cfg'], vasp_dir='./')
|
|
59
59
|
# Writes new H(k) to h5 archive
|
|
60
60
|
converter = VaspConverter(filename=general_params['seedname'])
|
|
61
61
|
converter.convert_dft_input()
|
|
@@ -190,7 +190,7 @@ def _full_vasp_run(general_params, dft_params, initial_run, n_iter_dft=1, sum_k=
|
|
|
190
190
|
vasp.run_charge_update()
|
|
191
191
|
|
|
192
192
|
if dft_params['projector_type'] == 'plo':
|
|
193
|
-
_run_plo_converter(general_params)
|
|
193
|
+
_run_plo_converter(general_params, dft_params)
|
|
194
194
|
irred_indices = None
|
|
195
195
|
elif dft_params['projector_type'] == 'w90':
|
|
196
196
|
_run_wannier90(general_params, dft_params)
|
|
@@ -227,7 +227,7 @@ def _full_vasp_run(general_params, dft_params, initial_run, n_iter_dft=1, sum_k=
|
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
# Main CSC flow method
|
|
230
|
-
def csc_flow_control(general_params, solver_params, dft_params, advanced_params):
|
|
230
|
+
def csc_flow_control(general_params, solver_params, dft_params, gw_params, advanced_params):
|
|
231
231
|
"""
|
|
232
232
|
Function to run the csc cycle. It writes and removes the vasp.lock file to
|
|
233
233
|
start and stop Vasp, run the converter, run the dmft cycle and abort the job
|
|
@@ -241,6 +241,8 @@ def csc_flow_control(general_params, solver_params, dft_params, advanced_params)
|
|
|
241
241
|
solver parameters as a dict
|
|
242
242
|
dft_params : dict
|
|
243
243
|
dft parameters as a dict
|
|
244
|
+
gw_params : dict
|
|
245
|
+
gw parameters as a dict
|
|
244
246
|
advanced_params : dict
|
|
245
247
|
advanced parameters as a dict
|
|
246
248
|
"""
|
|
@@ -321,8 +323,8 @@ def csc_flow_control(general_params, solver_params, dft_params, advanced_params)
|
|
|
321
323
|
|
|
322
324
|
############################################################
|
|
323
325
|
# run the dmft_cycle
|
|
324
|
-
is_converged, sum_k = dmft_cycle(general_params, solver_params, advanced_params,
|
|
325
|
-
|
|
326
|
+
is_converged, sum_k = dmft_cycle(general_params, solver_params, advanced_params, dft_params,
|
|
327
|
+
gw_params, iter_one_shot, irred_indices, dft_energy)
|
|
326
328
|
############################################################
|
|
327
329
|
|
|
328
330
|
iter_dmft += iter_one_shot
|