Symmetry k points#31
Open
Dbross wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request: Add Symmetry-Aware K-Point Reduction for Crystal Systems
Overview
This PR implements automatic symmetry detection and k-point reduction for crystal systems in PWDFT/Nwpw, significantly improving computational efficiency for symmetric structures while maintaining accuracy.
Key Features
1. Automatic Symmetry Detection
2. Enhanced K-Point Reduction
3. Supported Symmetry Groups
Technical Implementation
Core Functions Added
Integration Points
monkhorst_pack_set()functionparse_geometry()andparse_nwpw()Performance Improvements
Expected K-Point Reductions
Computational Savings
Usage Examples
Input File Syntax
Output Information
Testing
Test Cases Included
Validation
Configuration Options
Symmetry Tolerance
Disable Symmetry (if needed)
Backward Compatibility
Files Modified
Core Implementation
Nwpw/nwpwlib/parse/parse_pwdft.cpp: Main symmetry detection and k-point reduction logicTest Scripts
QA/Symmetry/quick_symmetry_test.sh: Quick symmetry detection testQA/Symmetry/lattice_optimization_workflow.sh: Full workflow demonstrationDocumentation
QA/Symmetry/symmetry_kpoints_examples.md: Usage examples and theoryDependencies
Performance Impact
Future Enhancements
Testing Instructions
Quick Test
cd QA/Symmetry bash quick_symmetry_test.shFull Workflow
cd QA/Symmetry bash lattice_optimization_workflow.shExpected Output
Review Checklist
Related Issues
Note: This feature significantly improves the efficiency of PWDFT calculations for symmetric crystal systems while maintaining full accuracy. The automatic detection and reduction process is transparent to users and requires no additional input beyond standard geometry specifications.