Skip to content

Commit

Permalink
Embedding ifc (#282)
Browse files Browse the repository at this point in the history
* lumi_works.py update[C

* fix typos

* remove PhononWork[C

* creation lumi.py

* scf object from relaxs

* test from_relax

* test from_relax

* last change

* last change before merge

* update of deltaSCF.py, pd dataframe inclusion

* add DEN deps

* clean up

* possibility to add metadata to lumi_works, + instanciation of deltaSCF object from directly from json file. Should be tested

* add get_dict()

* minor change

* Creation of lineshape.py

* plot band structures

* not opening gsr files

* Creation phonon_folding

* Creation phonon_folding

* Modifs lumiwork

* Modifs lumiwork

* Modifs lumiwork

* Modifs lumiwork

* Modif lumiwork

* Cleaning LumiWork

* deal with nband=*...

* .

* no Phonon

* first commit

* lineshape not yet for pull request

* Test embedding, minors modifs in deltaSCF

* minor

---------

Co-authored-by: Julien Bouquiaux <jbouquiaux@MacBook-Pro-de-Administrateur.local>
Co-authored-by: gonze <xavier.gonze@uclouvain.be>
  • Loading branch information
3 people authored Jan 18, 2024
1 parent 752e57d commit 5a23a23
Show file tree
Hide file tree
Showing 24 changed files with 56,024 additions and 61 deletions.
1 change: 1 addition & 0 deletions abipy/abio/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ def minimal_scf_input(structure: Structure, pseudos) -> AbinitInput:
inp["nband"] = 1
inp["chkprim"] = 0
inp["chksymbreak"] = 0
inp["maxnsym"] = 100000 # to be able to deal with supercells
inp["charge"] = structure.num_valence_electrons(inp.pseudos) - 1
inp["boxcutmin"] = 1.2
return inp
Expand Down
6,405 changes: 6,405 additions & 0 deletions abipy/data/refs/embedding_ifc/C_conv_DDB

Large diffs are not rendered by default.

38,599 changes: 38,599 additions & 0 deletions abipy/data/refs/embedding_ifc/C_interstitial_DDB

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions abipy/data/refs/embedding_ifc/C_sc.cif
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# generated using pymatgen
data_C
_symmetry_space_group_name_H-M 'P 1'
_cell_length_a 7.14742000
_cell_length_b 7.14742000
_cell_length_c 7.14742000
_cell_angle_alpha 90.00000000
_cell_angle_beta 90.00000000
_cell_angle_gamma 90.00000000
_symmetry_Int_Tables_number 1
_chemical_formula_structural C
_chemical_formula_sum C64
_cell_volume 365.13032961
_cell_formula_units_Z 64
loop_
_symmetry_equiv_pos_site_id
_symmetry_equiv_pos_as_xyz
1 'x, y, z'
loop_
_atom_site_type_symbol
_atom_site_label
_atom_site_symmetry_multiplicity
_atom_site_fract_x
_atom_site_fract_y
_atom_site_fract_z
_atom_site_occupancy
C C0 1 0.12500000 0.37500000 0.12500000 1.0
C C1 1 0.12500000 0.37500000 0.62500000 1.0
C C2 1 0.12500000 0.87500000 0.12500000 1.0
C C3 1 0.12500000 0.87500000 0.62500000 1.0
C C4 1 0.62500000 0.37500000 0.12500000 1.0
C C5 1 0.62500000 0.37500000 0.62500000 1.0
C C6 1 0.62500000 0.87500000 0.12500000 1.0
C C7 1 0.62500000 0.87500000 0.62500000 1.0
C C8 1 0.00000000 0.00000000 0.25000000 1.0
C C9 1 0.00000000 0.00000000 0.75000000 1.0
C C10 1 0.00000000 0.50000000 0.25000000 1.0
C C11 1 0.00000000 0.50000000 0.75000000 1.0
C C12 1 0.50000000 0.00000000 0.25000000 1.0
C C13 1 0.50000000 0.00000000 0.75000000 1.0
C C14 1 0.50000000 0.50000000 0.25000000 1.0
C C15 1 0.50000000 0.50000000 0.75000000 1.0
C C16 1 0.12500000 0.12500000 0.37500000 1.0
C C17 1 0.12500000 0.12500000 0.87500000 1.0
C C18 1 0.12500000 0.62500000 0.37500000 1.0
C C19 1 0.12500000 0.62500000 0.87500000 1.0
C C20 1 0.62500000 0.12500000 0.37500000 1.0
C C21 1 0.62500000 0.12500000 0.87500000 1.0
C C22 1 0.62500000 0.62500000 0.37500000 1.0
C C23 1 0.62500000 0.62500000 0.87500000 1.0
C C24 1 0.00000000 0.25000000 0.00000000 1.0
C C25 1 0.00000000 0.25000000 0.50000000 1.0
C C26 1 0.00000000 0.75000000 0.00000000 1.0
C C27 1 0.00000000 0.75000000 0.50000000 1.0
C C28 1 0.50000000 0.25000000 0.00000000 1.0
C C29 1 0.50000000 0.25000000 0.50000000 1.0
C C30 1 0.50000000 0.75000000 0.00000000 1.0
C C31 1 0.50000000 0.75000000 0.50000000 1.0
C C32 1 0.37500000 0.37500000 0.37500000 1.0
C C33 1 0.37500000 0.37500000 0.87500000 1.0
C C34 1 0.37500000 0.87500000 0.37500000 1.0
C C35 1 0.37500000 0.87500000 0.87500000 1.0
C C36 1 0.87500000 0.37500000 0.37500000 1.0
C C37 1 0.87500000 0.37500000 0.87500000 1.0
C C38 1 0.87500000 0.87500000 0.37500000 1.0
C C39 1 0.87500000 0.87500000 0.87500000 1.0
C C40 1 0.25000000 0.00000000 0.00000000 1.0
C C41 1 0.25000000 0.00000000 0.50000000 1.0
C C42 1 0.25000000 0.50000000 0.00000000 1.0
C C43 1 0.25000000 0.50000000 0.50000000 1.0
C C44 1 0.75000000 0.00000000 0.00000000 1.0
C C45 1 0.75000000 0.00000000 0.50000000 1.0
C C46 1 0.75000000 0.50000000 0.00000000 1.0
C C47 1 0.75000000 0.50000000 0.50000000 1.0
C C48 1 0.37500000 0.12500000 0.12500000 1.0
C C49 1 0.37500000 0.12500000 0.62500000 1.0
C C50 1 0.37500000 0.62500000 0.12500000 1.0
C C51 1 0.37500000 0.62500000 0.62500000 1.0
C C52 1 0.87500000 0.12500000 0.12500000 1.0
C C53 1 0.87500000 0.12500000 0.62500000 1.0
C C54 1 0.87500000 0.62500000 0.12500000 1.0
C C55 1 0.87500000 0.62500000 0.62500000 1.0
C C56 1 0.25000000 0.25000000 0.25000000 1.0
C C57 1 0.25000000 0.25000000 0.75000000 1.0
C C58 1 0.25000000 0.75000000 0.25000000 1.0
C C59 1 0.25000000 0.75000000 0.75000000 1.0
C C60 1 0.75000000 0.25000000 0.25000000 1.0
C C61 1 0.75000000 0.25000000 0.75000000 1.0
C C62 1 0.75000000 0.75000000 0.25000000 1.0
C C63 1 0.75000000 0.75000000 0.75000000 1.0
2,234 changes: 2,234 additions & 0 deletions abipy/data/refs/embedding_ifc/CaO_16at_vacancy_DDB

Large diffs are not rendered by default.

637 changes: 637 additions & 0 deletions abipy/data/refs/embedding_ifc/CaO_444_DDB

Large diffs are not rendered by default.

4,115 changes: 4,115 additions & 0 deletions abipy/data/refs/embedding_ifc/SrCl2_DDB

Large diffs are not rendered by default.

Loading

0 comments on commit 5a23a23

Please sign in to comment.