-
Notifications
You must be signed in to change notification settings - Fork 5
Add trans with higher k in tutorial2 #43
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughUpdates example NEGf configurations and structures: adjusts structure filenames and k-point meshes, refines energy grid for hBN, adds time-benchmark example configs and XYZ structures for graphene and hBN, and expands .gitignore to exclude new output and cache paths. Changes
Sequence Diagram(s)Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (8)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (20)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🧪 Early access (Sonnet 4.5): enabledWe are currently testing the Sonnet 4.5 model, which is expected to improve code review quality. However, this model may lead to increased noise levels in the review comments. Please disable the early access features if the noise level causes any inconvenience. Note:
Comment |
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.
Pull Request Overview
This PR enhances NEGF (Non-Equilibrium Green's Function) tutorial examples by improving calculation accuracy through denser k-point meshes and adding new timing benchmark examples for performance studies.
- Updated k-point mesh settings for MoS₂, graphene, and hBN to use denser sampling in transport directions
- Refined energy grid parameters in hBN example for better resolution
- Added timing benchmark examples with corresponding structure files for graphene and hBN systems
Reviewed Changes
Copilot reviewed 7 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| examples/hBN/negf.json | Updated structure filename and improved k-mesh/energy grid settings |
| examples/hBN/negf_time_bench.json | New timing benchmark configuration for hBN |
| examples/hBN/stru_negf_time_bench.xyz | Structure file for hBN timing benchmark |
| examples/graphene/negf.json | Updated structure filename reference |
| examples/graphene/negf_time_bench.json | New timing benchmark configuration for graphene |
| examples/graphene/stru_negf_time_bench.xyz | Structure file for graphene timing benchmark |
| examples/MoS2/negf.json | Updated structure filename and k-mesh settings |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This pull request updates and expands the NEGF (Non-Equilibrium Green's Function) example input files for MoS₂, graphene, and hBN systems. The main changes include improvements to the k-point mesh and energy grid settings for better accuracy, renaming of structure files for consistency, and the addition of new benchmark examples for timing studies with corresponding structure files.
Key changes:
Parameter and Input Improvements:
kmeshsettings innegf.jsonfiles for MoS₂, graphene, and hBN to use denser k-point sampling in the transport direction, improving calculation accuracy. [1] [2]espacing,emin,emax) inexamples/hBN/negf.jsonfor finer energy resolution and a narrower energy window.File Consistency and Naming:
struct_negf.xyztostru_negf.xyzin all relevantnegf.jsonfiles for MoS₂, graphene, and hBN to maintain consistent naming conventions. [1] [2] [3]New Benchmark Examples:
negf_time_bench.jsonfor both graphene and hBN, including appropriate simulation parameters for benchmarking. [1] [2]stru_negf_time_bench.xyzfor both graphene and hBN, defining the atomic coordinates and lattice for the benchmark systems. [1] [2]Summary by CodeRabbit
New Features
Documentation
Chores