-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dev kun #30
Conversation
src/meshes/reduced_uiniform_map.jl
Outdated
@assert !isempty(symmetries) # Identity has to be always present. | ||
_kgrid_size = ones(Int, DIM) | ||
_kgrid_size[1:DIM] = kgrid_size[1:DIM] | ||
_kshift = kshift ? [1 // 2, 1 // 2, 1 // 2] : [0, 0, 0] |
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.
what if DIM=2?
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.
fixed
Codecov Report
@@ Coverage Diff @@
## dev #30 +/- ##
===========================================
+ Coverage 31.58% 43.32% +11.73%
===========================================
Files 19 20 +1
Lines 1143 1198 +55
===========================================
+ Hits 361 519 +158
+ Misses 782 679 -103
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
need to treat kshift cautiously.
Uniformbzmesh
return klinearidx | ||
end | ||
|
||
function reduced_uniform_meshmap(model::UniformKMeshSym.Model, dim; kgrid_size::Vector{Int}) |
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.
file name uiniform->uniform
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.
fixed
Add _reduced_uniform_meshmap for even and odd kgrid size, and with or without shift
Add integration test for DFTK symmetrized mesh .
Closes #26