-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding ModelMethod for TB Wannier90 #8
Adding ModelMethod for TB Wannier90 #8
Conversation
49a6118
to
04bb96b
Compare
@ndaelman-hu @JFRudzinski I updated the comment in the description and added you as reviewers. Let's chat tomorrow. |
Commented out Pseudopotentials
Improved ModelSystem description
Moved lattice_vectors_reciprocal to KMesh Added normalizations
Deleted unused comment in ModelSystem Clean up descriptions in model_system.py
Transfering more sections to ModelMethod
Added self.name under TB
Added common.py for common sections
Improved code writing for assignements in atoms_state.py
… active_atoms in ModelSystem for TB class Improved SlaterKoster method and added normalization for bond name extraction
04bb96b
to
b398c96
Compare
Fixed orbitals_ref in TB
Improved schema for those
Improved descriptions in GW, TB, BSE
@ndaelman-hu @JFRudzinski would you mind reviewing this PR? You can ignore the changes in Everything else in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Just to bring my main questions to the forefront:
- When should we be using Enum values for method names?
- When should we be adding eln annotations to quantities?
- What is our overall strategy for referencing between methods and the other main sections (workflows, systems, outputs)?
@JosePizarro3 I'll do the review this evening, okay? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Very nice work. Mostly small stuff.
Tbh, I didn't check the methods after TB much, but I can see to help there with the testing of the normalizers.
I will brainstorm a bit on how to improve the DFT section too.
Added github action for Ruff check and formatting
08fa77c
to
47a471c
Compare
d8054ce
to
df210d5
Compare
Thanks a lot for your reviews!! 👏🏻 @ndaelman-hu @JFRudzinski would you mind to quickly checking again? Focus on your comments, close them if you feel satisfied, and if everything is good, I will merge. |
I was just about to head home. Do you mind if I do it tomorrow morning? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, all done! I closed all that is resolved from my side. Just check the open comments.
I'm really eager to get hands-on with this schema, as now we will have much clearer business logic.
Added utils is_not_representative Redefine QuasiparticlesFrequencyMesh Changed resolve_points to resolve_points_and_offset in KMesh
Thanks a lot for the reviews @JFRudzinski @ndaelman-hu !! 🥳 I merge this and work on other minor topics of the repo. |
@ndaelman-hu @JFRudzinski
A brief intro before our meeting tomorrow 27.02.2024.
This is my initial version on defining
ModelMethod
, some base classes which will be contained within, and some usage in the specific case ofTB
models.As you can see:
ModelMethod
serves as the base class from which to inherit to specific methodologies (e.g.,DFT
should also be inheriting from it, as well asGW
,BSE
,ForceFields
(?), etc.).Scf
class), and proxy references to other ModelMethod sections already existing in the archive.I deleted some quantities and sections which were not so clear or unused:
Smearing
Electronic
MoleculeParameters
LatticeModelHamiltonian
Method.stress_tensor_method
, and I definedmethods_ref
as a generic way of coverng all method references under a givenModelMethod
.Scf.native_tier
I am still working out the details of
TB
, but there you can see the usage:ModelSystem
Wannier
,SlaterKoster
,xTB
).SlaterKoster
was to define, as Mohammad (who was the one doing this) was developing this it was very complex due to the problem of composingTB
underModelMethod
. Now, I'll argue that it works much more nicely and it is easily usable by external people.Now, I will work a bit further on defining the core methodologies (DFT, GW, BSE, DMFT), and you might wanna take over to define your task-specific problems.