Skip to content

Formatting files in /source/source_hamilt/module_xc#7399

Open
mohanchen wants to merge 6 commits into
deepmodeling:developfrom
mohanchen:20260530
Open

Formatting files in /source/source_hamilt/module_xc#7399
mohanchen wants to merge 6 commits into
deepmodeling:developfrom
mohanchen:20260530

Conversation

@mohanchen
Copy link
Copy Markdown
Collaborator

Formatting files in /source/source_hamilt/module_xc

abacus_fixer added 2 commits May 30, 2026 06:32
- Add tau_xc overload with hybrid_alpha parameter
- Add ElecState::set_exx overload with cal_exx and hybrid_alpha parameters
- Format code: one parameter per line, align code, initialize variables, one variable per line, add braces to single-line for/if
@mohanchen mohanchen added Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0 labels May 29, 2026
abacus_fixer added 4 commits May 30, 2026 07:15
- Format function parameters to one per line
- Initialize all variables when declared
- Separate variable declarations onto individual lines
- Add braces for single-line if/for statements
- Improve code alignment and readability
@mohanchen mohanchen requested a review from zzlinpku May 30, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Refactor ABACUS codes The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant