Skip to content

951 bloch generalization#952

Merged
zerothi merged 4 commits intomainfrom
951-bloch-generalization
Sep 26, 2025
Merged

951 bloch generalization#952
zerothi merged 4 commits intomainfrom
951-bloch-generalization

Conversation

@zerothi
Copy link
Owner

@zerothi zerothi commented Sep 26, 2025

This just reduces maintenance burden.
No perf tests has been done, yet.

Cython is really annoying to maintain.
When there are obscure errors, e.g.
I have to pre-create the mem-view before
passing it, which is really annoying and
does not make sense.
Therefore it might be useful to try and
change the code to use another language.
They should be more performant and
simpler to use.

Still not tested the 3D unfold-copy.
It requires that the 3D bloch is fully
implemented, which is missing.
This should greatly speed up BZ integrations
of the real-space self-energies because
it skips the copying for every run, and
waits until it is done.

For now, it is handled internally in the
respective code-paths, which is fine-enough.
Enabled by default!

fixed documentation
This improves the performance by a large fraction.
However, it wasn't the most used code in all.

Essentially it now utilizes the full Toeplitz structure.
@zerothi zerothi force-pushed the 951-bloch-generalization branch from 0915efa to 4c4c327 Compare September 26, 2025 11:23
@codecov
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.91%. Comparing base (cd147b2) to head (4c4c327).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #952   +/-   ##
=======================================
  Coverage   86.90%   86.91%           
=======================================
  Files         412      412           
  Lines       54326    54333    +7     
=======================================
+ Hits        47214    47221    +7     
  Misses       7112     7112           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zerothi zerothi merged commit 5be4413 into main Sep 26, 2025
17 checks passed
@zerothi zerothi deleted the 951-bloch-generalization branch September 26, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move toolbox.btd to physics to speed up the real-space calculations

1 participant