-
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
KSpace definition #71
Conversation
Pull Request Test Coverage Report for Build 9252888406Details
💛 - Coveralls |
Hey @ndaelman-hu there seems to be something off with the |
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.
still ongoing, intermediate feedback
Ok, @ndaelman-hu this is ready for another review. I added a functionality to extract |
Added KLinePath and KMesh variables with refs to the NumericalSettings sections
Added testing for KLinePath
Added functionality resolve_high_symmetry_points Fix mypy
Added testing for check_high_symmetry_path
d657e14
to
a9bdac2
Compare
Ok, this is ready. I decided to group the I'd like to merge this today. |
…ead of copy the information
class KMesh(Variables): | ||
""" | ||
K-point mesh over which the physical property is calculated. This is used to define `ElectronicEigenvalues(PhysicalProperty)` and | ||
other k-space properties. The `points` are obtained from a refernece to the `NumericalSettings` section, `KMesh(NumericalSettings)`. |
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.
The
points
are obtained from a refernece to theNumericalSettings
section
Typo in reference
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.
Saw you just merged this, so finished the review pre-emptively.
k_mesh_settings_ref = Quantity( | ||
type=KMeshSettings, | ||
description=""" | ||
Reference to the `KMesh(NumericalSettings)` section in the `ModelMethod` section. This reference is useful | ||
to extract `points` and, then, obtain the shape of `value` of the `PhysicalProperty`. | ||
""", | ||
) |
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.
The description is a bit weirdly phrased towards the end.
points = Quantity( | ||
type=KMeshSettings.points, | ||
description=""" | ||
Reference to the `KMesh.points` over which the physical property is calculated. These are 3D arrays stored in fractional coordinates. | ||
""", | ||
) |
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.
Given the description in k_mesh_settings_ref
, is this quantity really helpful?
I mean, now there are 2 ways of retrieving exactly the same property.
@ndaelman-hu I would need a quick review on this to be able to keep working on #52